[PATCH] [libcxx] Add numerous options to libc++ LIT test suite configuration.
Eric Fiselier
eric at efcs.ca
Mon Nov 10 00:48:10 PST 2014
Add support for building and generating code coverage using lcov and genhtml. To produce code coverage you must:
* configure with '-DLIBCXX_GENERATE_COVERAGE=ON'
* `make`
* `make check-libcxx`
* `make check-libcxx-coverage`
The resulting HTML can be found in `<build-libcxx>/test/coverage/libcxx_coverage`
This also adds support for `UNSUPPORTED-XFAIL` and `REQUIRES-XFAIL` tags that ensure compilation fail but report the test as UNSUPPORTED instead of XFAIL.
http://reviews.llvm.org/D5877
Files:
CMakeLists.txt
cmake/Modules/LibcxxCodeCoverage.cmake
lib/CMakeLists.txt
test/CMakeLists.txt
test/lit.cfg
test/lit.site.cfg.in
www/index.html
www/lit_usage.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5877.15968.patch
Type: text/x-patch
Size: 44939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141110/0a156aec/attachment.bin>
More information about the cfe-commits
mailing list