Skip to content

Fix Command Line Tools test runner - #55

Open
vitaliytv wants to merge 1 commit into
drumih:mainfrom
vitaliytv:agent/fix-clt-test-runner
Open

Fix Command Line Tools test runner#55
vitaliytv wants to merge 1 commit into
drumih:mainfrom
vitaliytv:agent/fix-clt-test-runner

Conversation

@vitaliytv

Copy link
Copy Markdown

Summary

Make Scripts/test.sh work when the active developer directory is Command Line Tools rather than full Xcode.

The script now supplies the system Testing framework's import, link, and runtime paths from xcode-select -p. It also omits SwiftUI #Preview declarations only during package tests, since Command Line Tools does not ship PreviewsMacros.

Validation

  • Scripts/test.sh --filter RepackCLITests
  • Scripts/test.sh --filter HTTPServerTests

@vitaliytv
vitaliytv marked this pull request as ready for review August 2, 2026 07:02
@vitaliytv
vitaliytv force-pushed the agent/fix-clt-test-runner branch 2 times, most recently from 77bf55a to 579772f Compare August 5, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant