Author: dcoughlin Date: Fri Jan 22 12:45:22 2016 New Revision: 258517 URL: http://llvm.org/viewvc/llvm-project?rev=258517&view=rev Log: [analyzer] SATestBuild.py: Handle spaces in path passed to --use-analyzer.
I missed this one in r258493. Modified: cfe/trunk/utils/analyzer/SATestBuild.py Modified: cfe/trunk/utils/analyzer/SATestBuild.py URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/SATestBuild.py?rev=258517&r1=258516&r2=258517&view=diff ============================================================================== --- cfe/trunk/utils/analyzer/SATestBuild.py (original) +++ cfe/trunk/utils/analyzer/SATestBuild.py Fri Jan 22 12:45:22 2016 @@ -285,8 +285,8 @@ def runScanBuild(Dir, SBOutputDir, PBuil # 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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits