[analyzer] SATestBuild.py: Handle spaces in path passed to --use-analyzer.

I missed this one in r258493.

llvm-svn: 258517
This commit is contained in:
Devin Coughlin 2016-01-22 18:45:22 +00:00
parent 7898b90ee1
commit 86f61a9a62
1 changed files with 2 additions and 2 deletions

View File

@ -285,8 +285,8 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
# Run scan-build from within the patched source directory.
SBCwd = os.path.join(Dir, PatchedSourceDirName)
SBOptions = "--use-analyzer " + Clang + " "
SBOptions += "-plist-html -o '" + SBOutputDir + "' "
SBOptions = "--use-analyzer '%s' " % Clang
SBOptions += "-plist-html -o '%s' " % SBOutputDir
SBOptions += "-enable-checker " + AllCheckers + " "
SBOptions += "--keep-empty "
# Always use ccc-analyze to ensure that we can locate the failures