]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
more generic scan-build script
authorNick Mathewson <nickm@torproject.org>
Fri, 29 May 2015 17:50:05 +0000 (13:50 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 29 May 2015 17:50:05 +0000 (13:50 -0400)
scripts/test/scan-build.sh

index 623b227fe41f1b1e3cf6b0a4f8a97539517fc030..2375ab6107e51c1754281e5d48ddde4954016e62 100644 (file)
@@ -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.