Skip to content

Commit d483abd

Browse files
[lldb][docs] Update reference to test directory location (#71081)
The instructions for running single tests in the LLDB test suite used an older directory structure from before the LLVM project became a monorepo. This commit updates the references to these directories.
1 parent 6155fa6 commit d483abd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/docs/resources/test.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,23 +483,23 @@ run as part of a test suite.
483483

484484
::
485485

486-
$ ./bin/llvm-lit -sv tools/lldb/test --filter <test>
486+
$ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test --filter <test>
487487

488488

489489
Because lit automatically scans a directory for tests, it's also possible to
490490
pass a subdirectory to run a specific subset of the tests.
491491

492492
::
493493

494-
$ ./bin/llvm-lit -sv tools/lldb/test/Shell/Commands/CommandScriptImmediateOutput
494+
$ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test/Shell/Commands/CommandScriptImmediateOutput
495495

496496

497497
For the SB API tests it is possible to forward arguments to ``dotest.py`` by
498498
passing ``--param`` to lit and setting a value for ``dotest-args``.
499499

500500
::
501501

502-
$ ./bin/llvm-lit -sv tools/lldb/test --param dotest-args='-C gcc'
502+
$ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test --param dotest-args='-C gcc'
503503

504504

505505
Below is an overview of running individual test in the unit and API test suites

0 commit comments

Comments
 (0)