summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-29 13:50:05 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-29 13:50:05 -0400
commite71c8801cfd25dd0576c1dccb34ad8ad399e9f61 (patch)
tree5b7a378b1232647b23731c0c29debc14c24e02ff /scripts/test
parentb66f4cfc9dfdde9e233424ba4c9c25127adc3435 (diff)
downloadtor-e71c8801cfd25dd0576c1dccb34ad8ad399e9f61.tar.gz
tor-e71c8801cfd25dd0576c1dccb34ad8ad399e9f61.zip
more generic scan-build script
Diffstat (limited to 'scripts/test')
-rw-r--r--scripts/test/scan-build.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/test/scan-build.sh b/scripts/test/scan-build.sh
index 623b227fe4..2375ab6107 100644
--- a/scripts/test/scan-build.sh
+++ b/scripts/test/scan-build.sh
@@ -25,15 +25,13 @@ CHECKERS="\
-enable-checker security.insecureAPI.strcpy
"
-/opt/clang-3.4/bin/scan-build/scan-build \
+scan-build \
$CHECKERS \
- --use-analyzer=/opt/clang-3.4/bin/clang \
./configure
-/opt/clang-3.4/bin/scan-build/scan-build \
+scan-build \
$CHECKERS \
- --use-analyzer=/opt/clang-3.4/bin/clang \
- make -j2
+ make -j2 -k
# Haven't tried this yet.