Before this change, the test binaries were executed only if the deps
changed. This change makes the test binaries run unconditionally. This
is more in line with the rest of LLVM. Future patches will print test
statistics etc., much like the rest of LLVM.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is one of the steps towards addressing the proposal made here: https://discourse.llvm.org/t/rfc-running-libc-tests-unconditionally/68207. Future changes will address other aspects of the proposal.
libc/cmake/modules/LLVMLibCTestRules.cmake | ||
---|---|---|
132–136 | How about removing the NOT and swapping the two blocks? The condition is already a double negation. Actually, how about renaming the CMake variable into LIBC_UNITTEST_RUN_POSTBUILD? |
Comment Actions
Address comment.
libc/cmake/modules/LLVMLibCTestRules.cmake | ||
---|---|---|
132–136 | I have reversed the conditional but kept the name as is as it a optional argument to the function. So, it is OFF by default. |
How about removing the NOT and swapping the two blocks? The condition is already a double negation.
Actually, how about renaming the CMake variable into LIBC_UNITTEST_RUN_POSTBUILD?