Browse Source

more generic scan-build script

Nick Mathewson 9 years ago
parent
commit
e71c8801cf
1 changed files with 3 additions and 5 deletions
  1. 3 5
      scripts/test/scan-build.sh

+ 3 - 5
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.