[llvm-branch-commits] [libcxx] f408ea0 - [libc++] More documentation improvements about running tests
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 5 01:05:31 PDT 2022
Author: Louis Dionne
Date: 2022-08-05T01:04:08-07:00
New Revision: f408ea0cea262a12e08cbedf2cd6825e5435044d
URL: https://github.com/llvm/llvm-project/commit/f408ea0cea262a12e08cbedf2cd6825e5435044d
DIFF: https://github.com/llvm/llvm-project/commit/f408ea0cea262a12e08cbedf2cd6825e5435044d.diff
LOG: [libc++] More documentation improvements about running tests
(cherry picked from commit 3d5d44269c933849068c073f356002940f85bce4)
Added:
Modified:
libcxx/docs/TestingLibcxx.rst
Removed:
################################################################################
diff --git a/libcxx/docs/TestingLibcxx.rst b/libcxx/docs/TestingLibcxx.rst
index 25395f460de1..9d73b7056b3c 100644
--- a/libcxx/docs/TestingLibcxx.rst
+++ b/libcxx/docs/TestingLibcxx.rst
@@ -37,6 +37,12 @@ whether the required libraries have been built, you can use the
$ <build>/bin/llvm-lit -sv libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp # Run a single test
$ <build>/bin/llvm-lit -sv libcxx/test/std/atomics libcxx/test/std/threads # Test std::thread and std::atomic
+.. note::
+ If you used the Bootstrapping build instead of the default runtimes build, the
+ ``cxx-test-depends`` target is instead named ``runtimes-test-depends``, and
+ you will need to prefix ``<build>/runtimes/runtimes-<target>-bins/`` to the
+ paths of all tests.
+
In the default configuration, the tests are built against headers that form a
fake installation root of libc++. This installation root has to be updated when
changes are made to the headers, so you should re-run the ``cxx-test-depends``
More information about the llvm-branch-commits
mailing list