Keeping fuzzer.test together as a gigantic test has no advantages and multiple disadvantages: - Worse test parallelization (fuzzer.test is always blocking the test run on a machine with many cores) - Debugging test failures is made more difficult (not clear what fails from fuzzer.test failing) - Makes porting tests to new platforms more difficult (whenever fuzzer.test fails have to inspect the output to figure out what is going on, and then restart all of it) - Hides dead code (in our case, "Done1000000" FileCheck variable was never used, DISABLED: not %t-UninstrumentedTest-Uninstrumented was never compiled, and there was small amount of duplication vs. simple-cmp.test) - Makes correspondence between LIT .test files and .cpp files less straightforward Differential Revision: https://reviews.llvm.org/D46557 llvm-svn: 332145
8 lines
320 B
Plaintext
8 lines
320 B
Plaintext
RUN: %cpp_compiler %S/DSO1.cpp -fPIC -shared -o %t-DSO1.so
|
|
RUN: %cpp_compiler %S/DSO2.cpp -fPIC -shared -o %t-DSO2.so
|
|
RUN: %cpp_compiler %S/DSOTestMain.cpp %S/DSOTestExtra.cpp -L. %t-DSO1.so %t-DSO2.so -o %t-DSOTest
|
|
|
|
RUN: not %run %t-DSOTest 2>&1 | FileCheck %s --check-prefix=DSO
|
|
DSO: INFO: Loaded 3 modules
|
|
DSO: BINGO
|