projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9bde2
)
Fix bug in test harness to allow running dotest.py without "--executable" flag on...
author
Daniel Malea
<daniel.malea@intel.com>
Wed, 6 Feb 2013 16:55:07 +0000
(16:55 +0000)
committer
Daniel Malea
<daniel.malea@intel.com>
Wed, 6 Feb 2013 16:55:07 +0000
(16:55 +0000)
- resolves errors in cases that run the lldb CLI utility
llvm-svn: 174522
lldb/test/dotest.py
patch
|
blob
|
history
diff --git
a/lldb/test/dotest.py
b/lldb/test/dotest.py
index
5d96fc8
..
9ecfdd0
100755
(executable)
--- a/
lldb/test/dotest.py
+++ b/
lldb/test/dotest.py
@@
-797,6
+797,8
@@
def setupSysPath():
lldbExec = which('lldb')
if lldbHere and not lldbExec:
lldbExec = lldbHere
+ if lldbExec and not lldbHere:
+ lldbHere = lldbExec
if lldbHere:
os.environ["LLDB_HERE"] = lldbHere
@@
-1458,4
+1460,4
@@
if ("LLDB_TESTSUITE_FORCE_FINISH" in os.environ):
subprocess.Popen(["/bin/sh", "-c", "kill %s; exit 0" % (os.getpid())])
# Exiting.
-sys.exit(not result.wasSuccessful)
+sys.exit(not result.wasSuccessful
()
)