[Lldb-commits] [lldb] r176633 - Fix issue that causes linux buildbots to ignore errors
Daniel Malea
daniel.malea at intel.com
Thu Mar 7 10:39:26 PST 2013
Author: dmalea
Date: Thu Mar 7 12:39:26 2013
New Revision: 176633
URL: http://llvm.org/viewvc/llvm-project?rev=176633&view=rev
Log:
Fix issue that causes linux buildbots to ignore errors
- change string "ERROR" to "FAIL" to match clang lit test results
Also, make LLDB tests work on machines that do not have svn and/or git installed
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=176633&r1=176632&r2=176633&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Thu Mar 7 12:39:26 2013
@@ -832,11 +832,11 @@ def setupSysPath():
os.environ["LLDB_EXEC"] = 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)
+ if os.path.isdir(os.path.join(base, '.svn')) and which("svn") is not None:
+ pipe = subprocess.Popen([which("svn"), "info", base], stdout = subprocess.PIPE)
svn_info = pipe.stdout.read()
- elif os.path.isdir(os.path.join(base, '.git')):
- pipe = subprocess.Popen(["git", "svn", "info", base], stdout = subprocess.PIPE)
+ elif os.path.isdir(os.path.join(base, '.git')) and which("git") is not None:
+ pipe = subprocess.Popen([which("git"), "svn", "info", base], stdout = subprocess.PIPE)
svn_info = pipe.stdout.read()
if not noHeaders:
print svn_info
@@ -1446,7 +1446,7 @@ for ia in range(len(archs) if iterArchs
if method:
method()
if parsable:
- self.stream.write("ERROR: LLDB (%s) :: %s\n" % (self._config_string(test), str(test)))
+ self.stream.write("FAIL: LLDB (%s) :: %s\n" % (self._config_string(test), str(test)))
def addFailure(self, test, err):
global sdir_has_content
More information about the lldb-commits
mailing list