Files
crapper/tests
Cursor AgentandRobert C. Martin ec077c3793 Find SwiftPM test binaries in both toolchain layouts.
Current Xcode puts NameTests inside NameTests.xctest/Contents/MacOS.
Older toolchains use PackageTests, and on Linux the .xctest file is the
executable. swift_test_binary searches both, and prefers the directory
from `swift build --show-bin-path` when that command prints one.

Proved by the xctest bundle, Linux .xctest, show-bin-path preference,
relative path, and fallback tests. The dSYM is still ignored.

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-26 01:36:02 +00:00
..