mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
This patch sets it up so that unit tests only run in overlay mode (this is the new change), while hermetic tests only run in the full build mode (this has always been the case). Running the unit tests in full build mode was an inconsistent configuration because we were building code that expects to be run with our own startup code, but then we did not link that into the unit test. With this change, it does not make much sense to distinguish between unit and hermetic tests, as one can think of it just as a "test", which runs using whatever is the current build configuration. As such, this patch removes the use of the unit/hermetic test terminology from the most obvious place -- the add_libc_test macro. UNIT_TEST_ONLY and HERMETIC_TEST_ONLY are replaced by OVERLAY_BUILD_ONLY and FULL_BUILD_ONLY, respectively. Since there will only ever be one kind of a test in a given build, the tests also lose the __unit__ and __hermetic__ suffixes. This also means that tests depending on the MPFR library will not be run in full build mode -- one has to use overylay mode for that. Apart from that, this does not have impact on test coverage as we currently don't have other UNIT_TEST_ONLY tests. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| format.py | ||