[libcxx-commits] [libcxx] 736c6e2 - [libcxx] [test] Place output from newconfig tests under a 'test' subdir
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 1 13:44:55 PST 2022
Author: Martin Storsjö
Date: 2022-03-01T23:44:26+02:00
New Revision: 736c6e246f5398331d83edd204a846cc967ad5c6
URL: https://github.com/llvm/llvm-project/commit/736c6e246f5398331d83edd204a846cc967ad5c6
DIFF: https://github.com/llvm/llvm-project/commit/736c6e246f5398331d83edd204a846cc967ad5c6.diff
LOG: [libcxx] [test] Place output from newconfig tests under a 'test' subdir
Previously, all the output from the tests were placed directly in
the build directory. The tests produce a couple directories named
`__config_{exec,cache,src}__` which are easy to distinguish, but
the output from the individual tests are placed in subdirectories
named `std` or `libcxx`. Especially the build output from libcxx
tests ends up conflated in the same directories as are used for
building libcxx with cmake.
Differential Revision: https://reviews.llvm.org/D120479
Added:
Modified:
libcxx/test/configs/cmake-bridge.cfg.in
Removed:
################################################################################
diff --git a/libcxx/test/configs/cmake-bridge.cfg.in b/libcxx/test/configs/cmake-bridge.cfg.in
index b689827439c41..e4796a5977a80 100644
--- a/libcxx/test/configs/cmake-bridge.cfg.in
+++ b/libcxx/test/configs/cmake-bridge.cfg.in
@@ -22,7 +22,7 @@ config.name = os.path.basename('@LIBCXX_TEST_CONFIG@')
config.test_source_root = os.path.join('@LIBCXX_SOURCE_DIR@', 'test')
config.test_format = libcxx.test.format.CxxStandardLibraryTest()
config.recursiveExpansionLimit = 10
-config.test_exec_root = '@CMAKE_BINARY_DIR@'
+config.test_exec_root = os.path.join('@CMAKE_BINARY_DIR@', 'test')
# Add substitutions for bootstrapping the test suite configuration
config.substitutions.append(('%{cxx}', shlex.quote('@CMAKE_CXX_COMPILER@')))
More information about the libcxx-commits
mailing list