[Lldb-commits] [lldb] r143170 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Thu Oct 27 17:59:00 PDT 2011
Author: johnny
Date: Thu Oct 27 19:59:00 2011
New Revision: 143170
URL: http://llvm.org/viewvc/llvm-project?rev=143170&view=rev
Log:
Print out the version of the locally built 'lldb' binary, not the one found in your PATH env variable.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=143170&r1=143169&r2=143170&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Thu Oct 27 19:59:00 2011
@@ -669,6 +669,7 @@
os.environ["LLDB_BUILD_DIR"] = os.path.split(lldbHere)[0]
if not noHeaders:
print "LLDB build dir:", os.environ["LLDB_BUILD_DIR"]
+ os.system('%s -v' % lldbExec)
# One last chance to locate the 'lldb' executable.
if not lldbExec:
@@ -681,9 +682,7 @@
print "The 'lldb' executable cannot be located. Some of the tests may not be run as a result."
else:
os.environ["LLDB_EXEC"] = lldbExec
- #print "The 'lldb' executable path is", lldbExec
- if not noHeaders:
- os.system('%s -v' % lldbExec)
+ #print "The 'lldb' from PATH env variable", lldbExec
if os.path.isdir(os.path.join(base, '.svn')):
pipe = subprocess.Popen(["svn", "info", base], stdout = subprocess.PIPE)
More information about the lldb-commits
mailing list