Commit Graph

11 Commits

Author SHA1 Message Date
Saleem Abdulrasool
3cefb7b3f7 validation-test: mark test as XFAIL
TBD generation is not constrained to Darwin and it trips on the linker
synthetic `__ImageBase`.  XFAIL this until the TBD generation is either
constrained or is taught to ignore the synthetic.  This should
temporarily allow us to enable validation tests on Windows.
2019-12-14 22:15:01 -08:00
Saleem Abdulrasool
db9a6cae4d validation-test: refactor the test invocation (NFC)
This just uses the `%target-build-swift-dylib` instead of
`%target-build-swift` substitution along with `%target-library-name` to
ensure that we are target independent.
2019-06-04 13:05:42 -07:00
Saleem Abdulrasool
8968fcad5f test: create and use target-library-name 2018-12-12 08:37:59 -08:00
Saleem Abdulrasool
b212229db1 test: add and use prefix substitutions for libraries
The naming convention is different on Windows than on Unix-like
environments.  In order to follow the convention we need to substitute
the prefix and the suffix.  Take the opportunity to rename the
`target-dylib-extension` to the CMake-like variable
`target-shared-library-suffix` and introduce
`target-shared-library-prefix`.  This helps linking the test suite
binaries on Windows.
2018-12-11 15:56:06 -08:00
Jordan Rose
01a0de27ec [test] Update for remote-run-ing tests on a different macOS (#18966)
Most of this is just "remember to specify the inputs and outputs on
the command line, so remote-run can see them". A bit is "prefix
environment variables with '%env-'". And the last few are "yeah,
this was never going to work in a remote environment".

In the few cases where I couldn't think of anything reasonable, I just
marked the test as "UNSUPPORTED: remote_run", a new "feature".
2018-08-27 14:50:40 -07:00
Michael Gottesman
75c0572afa As per Jordan's request, move execution_crashers => execution.
I thought these were all execution time crashers, but I was incorrect. Some are
just execution tests that take a little bit to run.
2018-01-29 10:31:51 -08:00
Michael Gottesman
5947e04298 Rename ./validation_test/execution => execution_crashers to match the names of the compiler_crasher. 2018-01-26 12:19:20 -08:00
Dmitri Gribenko
486cab447d tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'
These changes were made using a script.
2017-06-04 11:08:39 -07:00
Dmitri Gribenko
55864d10cb Tests: use 'mkdir -p' 2016-09-02 21:36:45 -07:00
David Farler
cda5aef65c Restrict dsohandle-multi-module.swift test to OS X
Investigating a problem with execution tests on other platforms
when building multiple dylibs and an executable that builds them.

rdar://problem/27620565
2016-07-29 17:56:45 -07:00
David Farler
1d075adfb7 Add execution test for #dsohandle: multiple images
There wasn't an execution test involving #dsohandle, so add one here.
Also, the DSO handle coming from different modules should never be
the same.

rdar://problem/26565092
2016-07-29 14:37:44 -07:00