[LibFuzzer] Disable building and running LSan tests on Apple platforms because LSan is not currently supported.
Details
Diff Detail
Event Timeline
Why do you need to disable building the tests?
I would expect that "REQUIRES: lsan" is enough. No?
You may find that OutOfMemoryTest also does not *fully* work on OSX after my recent changes -- let's fix it separately.
BTW, it would be lovely if someone can implement lsan support for OSX (i.e. implement StopTheWorld)
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
99 | LeakSanitizer | |
100 | LeakSanitizer |
@kcc:
Why do you need to disable building the tests?
I would expect that "REQUIRES: lsan" is enough. No?
My original version (not uploaded to phabricator) of the patch actually didn't disable building the tests. I decided to disable building them because I thought it was odd to build tests that would never be executed. However if you prefer I can change the patch to always build the tests because they do build successfully.
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
100 | The error message for the "DataflowSanitizer" tests is similarly worded. Do you want that fixed too? |
Building these tests is very cheap.
Not building them makes the cmake file more complex.
If we can trade a tiny bit of CPU for less complexity we should do it.
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
100 | Yes, would be great. |
- Build all tests, even the ones we aren't going to run
- Fix Sanitizer marketing s/leak sanitizer/LeakSanitizer/.
LeakSanitizer