[libcxx-commits] [PATCH] D147751: [libc++] Instructions to run libc++ test suite
Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 20 09:53:18 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG170475cf1d08: Instructions to run libc++ test suite (authored by AdityaK <1894981+hiraditya at users.noreply.github.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147751/new/
https://reviews.llvm.org/D147751
Files:
libcxx/docs/TestingLibcxx.rst
Index: libcxx/docs/TestingLibcxx.rst
===================================================================
--- libcxx/docs/TestingLibcxx.rst
+++ libcxx/docs/TestingLibcxx.rst
@@ -39,11 +39,15 @@
$ <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
+If you used **ninja** as your build system then running ``ninja check-cxx`` will run
+all the tests in the libc++ testsuite.
+
.. 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.
+ paths of all tests. For example, to run all the libcxx tests you can do
+ ``<build>/bin/llvm-lit -sv <build>/runtimes/runtimes-bins/libcxx/test``.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147751.515368.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230420/2b7591dd/attachment.bin>
More information about the libcxx-commits
mailing list