From 3defb0be1bf1d2e71786d2950fab93bf74de375c Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Wed, 29 Aug 2012 21:22:40 +0000 Subject: [PATCH] [analyzer]Fix typo, unbreak static analyzer BuildBot (at least partially). (Addresses a regression from r162790.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162864 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/analyzer/SATestBuild.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index 9c99d0d0fb..27a18673a5 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -213,7 +213,7 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): # If using 'make', auto imply a -jX argument # to speed up analysis. xcodebuild will # automatically use the maximum number of cores. - if Command.startsWith("make "): + if Command.startswith("make "): Command += "-j" + Jobs SBCommand = SBPrefix + Command if Verbose == 1: @@ -404,6 +404,9 @@ def runCmpResults(Dir): RefList = glob.glob(RefDir + "/*") NewList = glob.glob(NewDir + "/*") + print " Comparing Results: %s" % (os.path.join(RefDir, LogFolderName)) + print " Comparing Results: %s" % (os.path.join(NewDir, LogFolderName)) + # Log folders are also located in the results dir, so ignore them. RefList.remove(os.path.join(RefDir, LogFolderName)) NewList.remove(os.path.join(NewDir, LogFolderName)) -- 2.40.0