aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-01 16:24:43 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-01 16:24:43 +0000
commit04bc014dfddd1298ae984a8632b41e0d77c9f556 (patch)
tree4bbc7b21d0bc2dc6008b49980367dc541ce44a5b
parent6d7e3727996cf6c418e9fdccf8521dc3282f9368 (diff)
[analyzer] SATestBuild should execute SVN updates even if Verbose is off.
Also, re-use glob results when looking for failure logs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157817 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xutils/analyzer/SATestBuild.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py
index 35c0b74778..4b9d2eb60c 100755
--- a/utils/analyzer/SATestBuild.py
+++ b/utils/analyzer/SATestBuild.py
@@ -293,7 +293,7 @@ def checkBuild(SBOutputDir):
FailuresCopied = NumOfFailuresInSummary
Idx = 0
- for FailLogPathI in glob.glob(SBOutputDir + "/*/failures/*.stderr.txt"):
+ for FailLogPathI in Failures:
if Idx >= NumOfFailuresInSummary:
break;
Idx += 1
@@ -380,7 +380,7 @@ def updateSVN(Mode, ProjectsMap):
if Verbose == 1:
print " Executing: %s" % (Command,)
- check_call(Command, shell=True)
+ check_call(Command, shell=True)
if Mode == "delete":
CommitCommand = "svn commit -m \"[analyzer tests] Remove " \
@@ -390,7 +390,7 @@ def updateSVN(Mode, ProjectsMap):
"reference results.\""
if Verbose == 1:
print " Executing: %s" % (CommitCommand,)
- check_call(CommitCommand, shell=True)
+ check_call(CommitCommand, shell=True)
except:
print "Error: SVN update failed."
sys.exit(-1)