summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-06-02 17:49:35 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-06-02 17:49:35 +0000
commita4ec2fcff966d56e7a428cbfb37a615a55fa9808 (patch)
tree094c4768d5c28c383afbee2f0445a9bfa216ca81
parent4dc625281d0269513226cc2282f95f16a9b65e71 (diff)
downloadbcm5719-llvm-a4ec2fcff966d56e7a428cbfb37a615a55fa9808.tar.gz
bcm5719-llvm-a4ec2fcff966d56e7a428cbfb37a615a55fa9808.zip
Add executable extension to debugger name, run dotest via binary.
See http://reviews.llvm.org/D3904 for details. Change by Scott Graham. llvm-svn: 210036
-rw-r--r--lldb/test/CMakeLists.txt2
-rwxr-xr-xlldb/test/dosep.ty4
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index 1c5afb5da59..c1eab92fd4e 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -27,7 +27,7 @@ set(LLDB_TRACE_DIR "${CMAKE_BINARY_DIR}/lldb-test-traces"
set(LLDB_COMMON_TEST_ARGS
--executable
- ${CMAKE_BINARY_DIR}/bin/lldb
+ ${CMAKE_BINARY_DIR}/bin/lldb${CMAKE_EXECUTABLE_SUFFIX}
-s
${LLDB_TRACE_DIR}
-u CXXFLAGS
diff --git a/lldb/test/dosep.ty b/lldb/test/dosep.ty
index 944da4189e1..0a7976f16ab 100755
--- a/lldb/test/dosep.ty
+++ b/lldb/test/dosep.ty
@@ -11,7 +11,7 @@ import multiprocessing
from optparse import OptionParser
# Command template of the invocation of the test driver.
-template = '%s/dotest.py %s -p %s %s'
+template = '%s %s/dotest.py %s -p %s %s'
def process_dir(root, files, test_root, dotest_options):
"""Examine a directory for tests, and invoke any found within it."""
@@ -28,7 +28,7 @@ def process_dir(root, files, test_root, dotest_options):
if os.path.islink(path):
continue
- command = template % (test_root, dotest_options if dotest_options else "", name, root)
+ command = template % (sys.executable, test_root, dotest_options if dotest_options else "", name, root)
if 0 != os.system(command):
failed.append(name)
else:
OpenPOWER on IntegriCloud