Consider renaming SWIFT_PM_TEST_LIBRARY
to a more general name like APPLE_TEST_LIBRARY
#7584
Closed
1 task done
Labels
SWIFT_PM_TEST_LIBRARY
to a more general name like APPLE_TEST_LIBRARY
#7584
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?Description
This env var is convenient for shared libraries which want to have support code that might be run by either an XCTest or SwiftTesting test case.
However, I suggest we name this more generally (for example,
APPLE_TEST_LIBRARY
) because it's not SwifPM-specific, and other build tools / IDEs might want to have a uniform way to identify the Apple-provided testing library in use.I also expect we wouldn't set this environment variable if SwiftPM gained direct support for additional testing libraries from other platforms/environments, since those would likely be run via their own test harnesses which might define their own environment variables across different IDE integrations.
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)No response
The text was updated successfully, but these errors were encountered: