Skip to content
Snippets Groups Projects
Commit 84b65973 authored by Devin Coughlin's avatar Devin Coughlin
Browse files

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

I missed this one in r258493.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258517 91177308-0d34-0410-b5e6-96231b3b80d8
parent a892974a
No related branches found
No related tags found
No related merge requests found
...@@ -285,8 +285,8 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): ...@@ -285,8 +285,8 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
# Run scan-build from within the patched source directory. # Run scan-build from within the patched source directory.
SBCwd = os.path.join(Dir, PatchedSourceDirName) SBCwd = os.path.join(Dir, PatchedSourceDirName)
SBOptions = "--use-analyzer " + Clang + " " SBOptions = "--use-analyzer '%s' " % Clang
SBOptions += "-plist-html -o '" + SBOutputDir + "' " SBOptions += "-plist-html -o '%s' " % SBOutputDir
SBOptions += "-enable-checker " + AllCheckers + " " SBOptions += "-enable-checker " + AllCheckers + " "
SBOptions += "--keep-empty " SBOptions += "--keep-empty "
# Always use ccc-analyze to ensure that we can locate the failures # Always use ccc-analyze to ensure that we can locate the failures
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment