[Lldb-commits] [lldb] [lldb][docs] Update reference to test directory location (PR #71081)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 2 10:03:50 PDT 2023


https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/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.

>From a61362cb67e62e6cba8cdf9235fe3e276db26573 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Thu, 2 Nov 2023 09:21:35 -0700
Subject: [PATCH] [lldb][docs] Update reference to test directory location

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.
---
 lldb/docs/resources/test.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lldb/docs/resources/test.rst b/lldb/docs/resources/test.rst
index 3c9e24dde8fd454..52757864539ead5 100644
--- a/lldb/docs/resources/test.rst
+++ b/lldb/docs/resources/test.rst
@@ -483,7 +483,7 @@ run as part of a test suite.
 
 ::
 
-   $ ./bin/llvm-lit -sv tools/lldb/test --filter <test>
+   $ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test --filter <test>
 
 
 Because lit automatically scans a directory for tests, it's also possible to
@@ -491,7 +491,7 @@ pass a subdirectory to run a specific subset of the tests.
 
 ::
 
-   $ ./bin/llvm-lit -sv tools/lldb/test/Shell/Commands/CommandScriptImmediateOutput
+   $ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test/Shell/Commands/CommandScriptImmediateOutput
 
 
 For the SB API tests it is possible to forward arguments to ``dotest.py`` by
@@ -499,7 +499,7 @@ passing ``--param`` to lit and setting a value for ``dotest-args``.
 
 ::
 
-   $ ./bin/llvm-lit -sv tools/lldb/test --param dotest-args='-C gcc'
+   $ ./bin/llvm-lit -sv <llvm-project-root>/lldb/test --param dotest-args='-C gcc'
 
 
 Below is an overview of running individual test in the unit and API test suites



More information about the lldb-commits mailing list