Tests with the extension .compile.pass.cpp will pass the compiler -fsyntax-only which will make the compile / link / execution times significantly better. This patch bulk moves tests without any assertions from being .pass.cpp to .compile.pass.cpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
At least some of these files don't contain any assertion visible in the test file, however they do run some code in main(). The tests that we can afford to compile only are those that really don't do anything at runtime, i.e. they only contain static_asserts or similar.
Comment Actions
@ldionne should have put something here, sorry. Shortly after I created this revision I realized 1) that some of these tests need to be run and 2) that I had also missed all tests with static_asserts in them. I'm working on a more complicated script that will hopefully do a better job. Stay tuned :)