[PATCH] [libcxx] Add numerous options to libc++ LIT test suite configuration.
eric at efcs.ca
Mon Oct 20 19:55:12 PDT 2014
Hi mclow.lists, danalbert, jroelofs,
In order to fully replace the testit script we need to update LIT so it provides the same functionality.
This patch adds a number of different configuration options to LIT to do that. It also adds documentation for all of the command line parameters that LIT supports.
Generic options added:
Generic options modified:
- `use_clang_verify`: Changed the semantics of the switch
- `link_flags`: Changed from overriding the default args to adding extra args instead (to match compile flags)
- `use_sanitizer`: Renamed from `llvm_use_sanitizer`
The ability to use scan-build overtop of the tests was added. The test fails if scan-build finds any issues.
Scan build Options:
The ability to use `clang-tidy` has also been added.
Clang tidy options:
Please see the added documentation for more information about the switches. As for the actual documentation I'm not sure if it should be kept in libc++ forever since it adds an undue maintenance burden, but I think it should be added for the time being while the changes are new. I'm verify unskilled with HTML so if the documentation needs any changes please let me know.
Hopefully this will kill testit.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 25081 bytes
Desc: not available
More information about the cfe-commits