Commit Graph

4 Commits

Author SHA1 Message Date
Dmitri Gribenko
984210aa53 tests: replace '// RUN: rm -rf' '// RUN: mkdir' pairs with '%empty-directory(...)'
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 Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Jordan Rose
77b009903c Add a test for serialization under optimizations.
This used to pull in SIL functions from the stdlib, then try to serialize
them out again. Michael's r20375 allowed us to distinguish local functions
with shared linkage from deserialized functions with shared (now
SharedExternal) linkage, and the existing logic in the serializer took
care of skipping them.

<rdar://problem/17567391>

Swift SVN r20415
2014-07-23 17:46:56 +00:00