mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
This makes the test libraries use the same patterns as the regular libc code. This includes using dot-separated names of libraries and explicit dependency tracking (although this patch does not make use that yet). Since this changes the name of the libraries anyway, I took the opportunity to rename some of them: libraries containing only a single file now have the same name as that file. This also resolves the dependency issues in hermetic tests, as everything now gets packaged into the same .a library (the library itself could also be removed, but I'm saving that for another patch). Other changes include: - moving the C test framework to a separate library, to avoid it getting pulled in (and causing undefined references) when not used - moving sched_test's static_assert into a TEST, as the test framework requires having at least one test. The trick with overriding main() no longer works because overlay tests no longer create a .a file for the test frameworks. - for the same reason, I have removed the main function from testfilter_test.cpp - for the same reason, avoid compiling LibcDeathTestExecutors.cpp when subprocess tests are not enabled |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| testfilter_test.cpp | ||