[tor-commits] [tor/master] more generic scan-build script

nickm at torproject.org nickm at torproject.org
Fri May 29 17:50:32 UTC 2015


commit e71c8801cfd25dd0576c1dccb34ad8ad399e9f61
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri May 29 13:50:05 2015 -0400

    more generic scan-build script
---
 scripts/test/scan-build.sh |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/scripts/test/scan-build.sh b/scripts/test/scan-build.sh
index 623b227..2375ab6 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.





More information about the tor-commits mailing list