Commit Graph

11 Commits

Author SHA1 Message Date
Slava Pestov
aeb6887fe1 Adjust rdar18157434.swift to pass with optimizations
The optimizer was deleting the allocation altogether.

Fixes one of the three failures outlined in <rdar://problem/31780356>.
2017-04-24 00:52:10 -07:00
Slava Pestov
3749a0066d Add a couple of crashers 2017-04-23 01:49:02 -07:00
Dmitri Gribenko
55864d10cb Tests: use 'mkdir -p' 2016-09-02 21:36:45 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -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
Jordan Rose
90c5cfea4d [test] Add a Linux test for indirect link dependencies relying on -L.
This is the Linux equivalent of 3731a2ff0. There's probably a way to
merge them into one file cleanly, but the extra linker args on OS X
make it a little tricky. I'm deciding not to worry about it right now.
2015-12-04 17:58:27 -07:00
Jordan Rose
4f9367041f [Driver] Always use the runtime resource library path for DYLD_LIBRARY_PATH.
...when interpreting. Otherwise, the script may depend on library X, which
depends on library Y, where library Y is a standard Swift library, located
in lib/swift/$PLATFORM/.

Finishes rdar://problem/23588774
2015-12-04 12:18:48 -08:00
Jordan Rose
3731a2ff0c [test] Add a test for indirect link dependencies relying on -L.
...as described in rdar://problem/23588774. We don't really have a good way
to make this test cross-platform as such, but I'll add a Linux version soon.
2015-12-04 12:18:47 -08:00
Arnold Schwaighofer
4d4329b0e0 Add executable_test to the validation test suite
Swift SVN r29278
2015-06-03 23:28:43 +00:00
Jordan Rose
13e8137113 [test] Add more testability tests, including execution tests.
Swift SVN r26785
2015-04-01 01:12:25 +00:00