From 4e5cd63f7e3810df9f99d37fb9e70d93326065a3 Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 7 Jun 2026 21:44:25 +0530 Subject: [PATCH] chore: add test-companion target for the withcompanion-tagged suite --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5bc9e6f..c02fdb7 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ DOCS_TEMPLATE := docs/_template/page.html REPLAY_DIST := internal/replay/dist WEB_DIST := replay-ui/dist -.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry +.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-companion test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry bootstrap: $(GO) mod download @@ -87,6 +87,12 @@ web-test: test-browser: $(GO) test -tags browser ./test/browser/... ./internal/driver/chrome/... +# Runs the withcompanion-tagged tests (asset embedding, extraction, checksum +# reuse) against the real companion and runner bundles. Kept out of `test` +# because preparing the companion bundle needs the darwin toolchain. +test-companion: $(COMPANION_EMBED) + $(GO) test -tags withcompanion ./internal/driver/ioscompanion/... + test-kotlin: ANDROID_HOME=$(ANDROID_HOME) $(GRADLE) :sidecar:test