[PATCH] D13714: [libcxx] Use __config_site to configure the test suite features.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 18:34:13 PDT 2015


EricWF created this revision.
EricWF added reviewers: mclow.lists, jroelofs, danalbert, eugenis, ed.
EricWF added a subscriber: cfe-commits.

This patch changes the tests to use the "__config_site" header if present instead of manually configuring for each option. This patch also removes the test flags for configuring some of these options. For example "lit -sv --param=enable_threads=OFF" no longer works. However lit will still correctly configure if  the CMake option "-DLIBCXX_ENABLE_THREADS=OFF" is given at build time. 

This patch will fix the libc++abi test configuration for `LIBCXX_ABI_VERSION` and `LIBCXX_ABI_UNSTABLE` one we teach it about 'project_obj_dir' . I would like to land this ASAP to prevent more work blockage.

http://reviews.llvm.org/D13714

Files:
  test/CMakeLists.txt
  test/libcxx/test/config.py
  test/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13714.37311.patch
Type: text/x-patch
Size: 10236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151014/a1293617/attachment.bin>


More information about the cfe-commits mailing list