Commit Graph

6 Commits

Author SHA1 Message Date
Michael Gottesman
1d86a22f5b [build-script] Add a SKIP_XCODE_VERSION_CHECK to all dry-run build-script tests.
It makes sense to just set this here since we aren't testing that functionality
and enables us to test this if we aren't using one of the specified Xcodes
(which can be useful).
2021-08-31 14:10:28 -07:00
Eric Miotto
7379f455bf [test] Isolate build-script calls in skip-local-build.test-sh
This will align skip-local-build.test-sh with the behaviour of the
other BuildSystem tests, by

* ensuring we use the cmake exposed in lit.cfg, so that under Linux we
don't attempt to rebuild it
* using a separate build folder for build-script invocations, so that
side effects will not affect the main invocation and other lit tests.

I expect these changes to prevent llvm-targets-options.test to fail in
Linux presets with an error related to cmake, e.g.

```
build-script: error: argument --cmake:
/home/buildnode/jenkins/workspace/
oss-swift-package-linux-ubuntu-18_04/build/cmake-linux-x86_64/bin/cmake
is not an executable
```

Addresses rdar://78320684
2021-05-24 20:13:22 +00:00
Robert Widmann
161fa16cf8 Revert "Turn on Verbose Output For Test"
This reverts commit c34212aa20.
2020-08-29 17:20:49 -07:00
Robert Widmann
c34212aa20 Turn on Verbose Output For Test 2020-08-29 09:40:09 -07:00
David Zarzycki
4097282ae2 Disable build system test that assumes standalone build 2019-10-30 07:36:22 +02:00
Vedant Kumar
157cb2a654 [build-script] Forward --skip-local-build to build-script-impl
Otherwise, build-script-impl ignores --skip-local-build.
2019-10-28 12:20:38 -07:00