Files
swift-mirror/validation-test/Python/swift_build_support.swift
Daniel Rodríguez Troitiño b0a199e1b8 [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
2025-03-21 03:36:44 -07:00

12 lines
460 B
Swift

// Continuous integration for the OS X Platform also runs the tests in the
// iPhone, Apple TV and Apple Watch simulators. We only need to run the
// swift_build_support module unit-tests once per OSX Platform test run, rather
// than once for each supported Apple device.
// UNSUPPORTED: OS=ios
// UNSUPPORTED: OS=tvos
// UNSUPPORTED: OS=watchos
// RUN: %empty-directory(%t)
// RUN: env SWIFT_BUILD_ROOT=%t %{python} %utils/swift_build_support/run_tests.py