Skip to content

Commit b0a199e

Browse files
authored
[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
1 parent 77ad256 commit b0a199e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: validation-test/Python/swift_build_support.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
// UNSUPPORTED: OS=tvos
88
// UNSUPPORTED: OS=watchos
99

10-
// RUN: %{python} %utils/swift_build_support/run_tests.py
10+
// RUN: %empty-directory(%t)
11+
// RUN: env SWIFT_BUILD_ROOT=%t %{python} %utils/swift_build_support/run_tests.py

0 commit comments

Comments
 (0)