llvm-project/libcxx/test
Louis Dionne 1e46d1aa3f [libc++] Include <__config_site> from <__config>
Prior to this patch, we would generate a fancy <__config> header by
concatenating <__config_site> and <__config>. This complexifies the
build system and also increases the difference between what's tested
and what's actually installed.

This patch removes that complexity and instead simply installs <__config_site>
alongside the libc++ headers. <__config_site> is then included by <__config>,
which is much simpler. Doing this also opens the door to having different
<__config_site> headers depending on the target, which was impossible before.

It does change the workflow for testing header-only changes to libc++.
Previously, we would run `lit` against the headers in libcxx/include.
After this patch, we run it against a fake installation root of the
headers (containing a proper <__config_site> header). This makes use
closer to testing what we actually install, which is good, however it
does mean that we have to update that root before testing header changes.
Thus, we now need to run `ninja check-cxx-deps` before running `lit` by
hand.

Differential Revision: https://reviews.llvm.org/D89041
2020-10-21 08:46:57 -04:00
..
configs [libc++] Include <__config_site> from <__config> 2020-10-21 08:46:57 -04:00
libcxx [libc++] Decouple debug mode tests from iostreams 2020-10-20 15:48:42 -04:00
pretty_printers Desugar class type for iterator lookup. 2020-07-14 11:37:03 -07:00
std [libcxx] [test] Split the file_time_type synopsis test 2020-10-21 10:00:02 +03:00
support [libc++] Remove uses of verbose_assert.h in Filesystem tests 2020-10-20 16:57:00 -04:00
CMakeLists.txt [libc++] Rename LIBCXX_ENABLE_DEBUG_MODE to LIBCXX_ENABLE_DEBUG_MODE_SUPPORT 2020-10-09 14:39:20 -04:00
lit.cfg.py [libc++] Allow specifying custom Lit config files 2020-06-18 10:06:04 -04:00