[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Use all+only the default checkers in scan-build script
commit 4097d646d81310ceefbe9a3f6873aaaca6af138e
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue Sep 12 17:43:40 2017 -0400
Use all+only the default checkers in scan-build script
---
scripts/test/scan-build.sh | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/scripts/test/scan-build.sh b/scripts/test/scan-build.sh
old mode 100644
new mode 100755
index 36e69e6d0..765297ee6
--- a/scripts/test/scan-build.sh
+++ b/scripts/test/scan-build.sh
@@ -5,6 +5,18 @@
# This script is used for running a bunch of clang scan-build checkers
# on Tor.
+CHECKERS=""
+
+scan-build \
+ $CHECKERS \
+ ./configure
+
+make clean
+
+scan-build \
+ $CHECKERS \
+ make -j5 -k
+
CHECKERS="\
-disable-checker deadcode.DeadStores \
-enable-checker alpha.core.CastSize \
@@ -25,15 +37,6 @@ CHECKERS="\
-enable-checker alpha.core.TestAfterDivZero \
"
-scan-build \
- $CHECKERS \
- ./configure
-
-scan-build \
- $CHECKERS \
- make -j2 -k
-
-
# This one gives a false positive on every strcmp.
# -enable-checker alpha.core.PointerSub
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits