[Lldb-commits] [lldb] 91e0c25 - [lldb] Fix lldb-dotest

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 13 05:33:58 PST 2020


Author: Pavel Labath
Date: 2020-02-13T14:31:08+01:00
New Revision: 91e0c258c2e80b180c0c99af322cb6bf09df86d4

URL: https://github.com/llvm/llvm-project/commit/91e0c258c2e80b180c0c99af322cb6bf09df86d4
DIFF: https://github.com/llvm/llvm-project/commit/91e0c258c2e80b180c0c99af322cb6bf09df86d4.diff

LOG: [lldb] Fix lldb-dotest

to account for the new location of test files from 99451b445.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/configuration.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 91a223432b80..faf31e7dbcf8 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -97,7 +97,7 @@
 # By default, search from the script directory.
 # We can't use sys.path[0] to determine the script directory
 # because it doesn't work under a debugger
-testdirs = [os.path.dirname(os.path.realpath(__file__))]
+testdirs = [lldbsuite.lldb_test_root]
 
 # Separator string.
 separator = '-' * 70


        


More information about the lldb-commits mailing list