Refactored lldb executable name discovery
The lldb executable was referenced through the code by 7 different
(effectively) global variables.
global lldbExecutablePath
global lldbExecutable
os.environ['LLDB_EXEC']
os.environ['LLDB_TEST']
dotest.lldbExec
dotest.lldbHere
lldbtest.lldbExec
This change uses one global variable lldbtest_config.lldbExec to
replace them all.
Differential Revision: http://reviews.llvm.org/D9817
llvm-svn: 237600
diff --git a/lldb/test/lldbtest_config.py b/lldb/test/lldbtest_config.py
index 96703d7..c2d4549 100644
--- a/lldb/test/lldbtest_config.py
+++ b/lldb/test/lldbtest_config.py
@@ -15,3 +15,7 @@
# leave logs/traces even for successful test runs
log_success = False
+
+# path to the lldb command line executable tool
+lldbExec = None
+