Commit Graph

7 Commits

Author SHA1 Message Date
Alex Langford
da79d60ff1 [DebugInfo] Make modulecache test windows-compatible
`file` is not available on windows except through GnuWin32, and that
`file` was identifying the ClangModule as an ACB Archive file instead of
a COFF file.

Instead of using `file`, it is easier and more portable to use
llvm-readobj. I also converted the egrep usage into FileCheck while
adding COFF support.
2019-02-05 14:44:45 -08:00
Adrian Prantl
1b486eda4e Make test more robust. file(1) may not always recognize CPCH as data. 2017-08-21 14:30: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
Adrian Prantl
19017a287f Even more testcase tweaking: Make this a C module so it can be imported on
Linux.

Swift SVN r28632
2015-05-15 18:03:12 +00:00
Adrian Prantl
cf564c24a2 More testcase tweaking.
1. Require objc_interop (the Linux bot currently fails to import
   Objective-C modules.
2. Generalize the testcase to also accept ELF containers so it works when
   (1) is resolved.

Swift SVN r28630
2015-05-15 17:51:50 +00:00
Adrian Prantl
da2ad487d7 Cleanup: Remove the dependency on SwiftShims from this testcase and
relax the prerequisites.

Thanks Dmitri for noticing!

Swift SVN r28628
2015-05-15 17:19:36 +00:00
Adrian Prantl
70279d192f Disable module debug info generation when -detailed-preprocessing-record
is enabled.

rdar://problem/20898265

This reapplies r28503 with a testcase and a corrected condition.

Swift SVN r28624
2015-05-15 16:15:01 +00:00