[libc++] More documentation improvements about running tests
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Aug 2022 13:24:54 +0000 (09:24 -0400)
committerTom Stellard <tstellar@redhat.com>
Fri, 5 Aug 2022 08:04:08 +0000 (01:04 -0700)
(cherry picked from commit 3d5d44269c933849068c073f356002940f85bce4)

libcxx/docs/TestingLibcxx.rst

index 25395f4..9d73b70 100644 (file)
@@ -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``