[zorg] r257425 - [zorg][static-analyzer-bot] Add scan-build bin directory to path.
Devin Coughlin via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 16:49:01 PST 2016
Author: dcoughlin
Date: Mon Jan 11 18:49:01 2016
New Revision: 257425
URL: http://llvm.org/viewvc/llvm-project?rev=257425&view=rev
Log:
[zorg][static-analyzer-bot] Add scan-build bin directory to path.
Without this the benchmark script fails because it can't find scan-build.
Modified:
zorg/trunk/zorg/jenkins/build.py
Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=257425&r1=257424&r2=257425&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Mon Jan 11 18:49:01 2016
@@ -314,9 +314,12 @@ def static_analyzer_benchmarks_builder()
benchmarks_dir = conf.workspace + "/clang-analyzer-benchmarks/"
compiler_bin_dir = conf.workspace + "/host_compiler/bin/"
+ scanbuild_bin_dir = conf.workspace + "/tools-scanbuild/bin/"
old_path = os.environ.get("PATH", "")
- env = dict(os.environ, PATH=compiler_bin_dir + os.pathsep + old_path)
+ env = dict(os.environ, PATH=compiler_bin_dir + os.pathsep +
+ scanbuild_bin_dir + os.pathsep +
+ old_path)
benchmark_cmd = [benchmark_script,
"--strictness", "2"
More information about the llvm-commits
mailing list