mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] Isolate swift_build_support.swift testing (#80192)
The test was using the default value for SWIFT_BUILD_ROOT, which tried to write into `.build_script_log`. Use an environment variable so the tests use their own directory and write files that do not append to the actual `.build_script_log`. Follow up to #80102
This commit is contained in:
committed by
GitHub
parent
77ad256926
commit
b0a199e1b8
@@ -7,4 +7,5 @@
|
||||
// UNSUPPORTED: OS=tvos
|
||||
// UNSUPPORTED: OS=watchos
|
||||
|
||||
// RUN: %{python} %utils/swift_build_support/run_tests.py
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: env SWIFT_BUILD_ROOT=%t %{python} %utils/swift_build_support/run_tests.py
|
||||
|
||||
Reference in New Issue
Block a user