mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- Forward several environment variables to the test environment because Windows uses them to inform the processes about things like the number of processors and the architecture. - Normalize some literal Unix paths to be the same as the results in Windows, that will have forward slashes and the drive letter. - Skip some test that use build-script-impl and tests that check for files being executable (everything is executable in Windows). - Don't use the owner and group arguments for tar on Windows. - Hide the stderr output of which. In Windows it prints the full PATH in case of failures, which is disrupting. - Quote many paths in Windows in the output of build-script results. - Provide a version of mock-distcc that can be executed in Windows. The raw Python script cannot. - Change the expected results for clang/clang++ to the right values in Windows (clang-cl in both cases).
4 lines
121 B
Batchfile
4 lines
121 B
Batchfile
@ echo off
|
|
IF NOT DEFINED PYTHON_EXECUTABLE SET PYTHON_EXECUTABLE=python
|
|
"%PYTHON_EXECUTABLE%" "%~dp0\mock-distcc" %*
|