Meta/round: add 'undefined' checker, too
Junio C Hamano committed
Oct 10, 2022 at 14:35 UTC
eee9bb7e054c755a0799370ac3eeef4ea848d8b2
1 file changed
+4
-4
round
+4
-4
index 0839b69adb..d96967bd9e 100755
--- a/round
+++ b/round
@@ -1,7 +1,7 @@
#!/bin/sh
# Give names of targets to use on the command line
-default="sparse hdr-check coccicheck test leaks address check-docs doc"
+default="sparse hdr-check leaks address undefined coccicheck check-docs doc"
skip=" "
more=" "
@@ -31,9 +31,9 @@ do
esac
case "$t" in
- address)
+ address | undefined)
Meta/Make -j16 distclean >/dev/null 2>&1 &&
- SANITIZE=address \
+ SANITIZE=$t \
Meta/Make -j16 test
;;
leaks)
@@ -45,7 +45,7 @@ do
SPATCH_FLAGS=--recursive-includes Meta/Make -j16 "$t"
;;
*)
- SPATCH_FLAGS=--recursive-includes Meta/Make -j16 "$t"
+ Meta/Make -j16 "$t"
;;
esac || return 1
done &&