Commit Graph

10 Commits

Author SHA1 Message Date
Jason Mittertreiner
4e0b092fbe Fixing Driver tests on Windows (#20209) 2018-12-10 18:27:37 -08:00
Arnold Schwaighofer
c665c326d4 Add missing REQUIRES: executable_test
To get check-swift-only_non_executable clean again.
2017-09-12 14:50:15 -07: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
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Michael Gottesman
01124220ef [lto] Re-enable static-stdlib test now that we no longer LTO the target libraries.
rdar://26281388
2016-06-10 18:15:55 -07:00
Arnold Schwaighofer
f0adb1c6e7 Disable this test completely on lto systems
This test succeeds on macosx but fails on iphoneos. XFAIL does not work.
Use "REQUIRES: non_lto" instead.

rdar://26281388
2016-06-06 11:42:45 -07:00
Michael Gottesman
0940f7572c Disable this test when lto is enabled.
Right now when we enable lto in swift, we lto the runtime and the compiler. In
the case where we are making dylibs for the runtime this is great, we get better
performance.

On the other hand, there is a bug now that makes it so that the static
libswiftCore also gets the lto bitcode. We do not want users to take this
potential compile time hit from ltoing that archive.

I have not had time to look into this issue yet, so I am xfailing this test when
LTO is enabled.

rdar://26281388
2016-05-25 10:11:54 -07:00
Jordan Rose
8cfbf25533 [test] Fix Darwin -static-stdlib test for the iOS simulator.
Make sure to use %target-run instead of just executing the binary
directly.
2016-05-05 11:54:42 -07:00
Drew Crawford
d7f4d4c12b [Driver] add -static-stdlib flag (Darwin platforms) (#1817)
This commit adds the flags -static-stdlib and -no-static-stdlib to
create programs statically linked (or not) with the standard library.
Not is the default, which is also the current behavior.

These flags are currently placebos on non-Darwin platforms.
2016-05-04 09:19:56 -07:00