Commit Graph

9 Commits

Author SHA1 Message Date
Max Desiatov
ec4ca6631a test/AutolinkExtract/import_archive.swift: check for Wasm object format 2023-07-22 14:22:24 +01:00
Jordan Rose
444436e313 [test] Don't actually emit a .so for autolink-extract tests (#17938)
Two tests used -emit-library with the same module name and without an
explicit -o path, meaning that the output would go into whatever
lit.py was using as its working directory. If the tests ran at exactly
the same time, they could contend for the output file. We don't actually
use the built library at all in the test, so just drop the -emit-library
entirely.

Also, remove an unused compilation step from another test, which just
checks what happens when swift-autolink-extract doesn't use any
arguments.

rdar://problem/39510413
2018-07-13 12:50:38 -07:00
David Ungar
0d3020a0f6 enable the test 2018-03-01 07:34:14 -08:00
Xi Ge
3d793d25a6 [test] disable AutolinkExtract/import_archive.swift while investigating. rdar://37605557 (#14677)
We've seen this test failing on bot:
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/2836/
2018-02-16 08:06:31 -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
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Han Sangjin
0747503b0f [Autolink] Autolinking on COFF for Cygwin/MinGW
Cygwin and MinGW should use the autolink feature in the sameway of Linux
due to the linker's limit. Now swift-autolink-extract recognizes the
COFF format file for Cygwin/MinGW.
2016-08-07 07:20:50 +09:00
Saleem Abdulrasool
f221499bcc test: use llvm tools
Rather than relying on the system to provide ar and nm, use the LLVM equivalent
tools instead.  Since the build is already dependent on llvm and its tools, this
just ensures that the full set is self-contained.  NFC.
2016-06-03 10:17:58 -07:00
Chris Willmore
2088cd4373 swift-autolink-extract should look inside .a files.
Previously it just gave up when it saw anything other than an ELF .o file. We
could have it ignore .a files, but we might as well do the right thing.

<rdar://problem/23045632>
2015-11-10 12:48:37 -07:00