Meta/round: clean after running leaks and sparse
Junio C Hamano committed
Mar 7, 2023 at 13:45 UTC
db2ba41c72091c3935de9a9e9057644d9a61dec0
1 file changed
+5
-2
round
+5
-2
@@ -32,13 +32,16 @@ do
32
;;
33
leaks)
34
SANITIZE=leak \
35
- GIT_TEST_PASSING_SANITIZE_LEAK=true Meta/Make -j16 test
35
+ GIT_TEST_PASSING_SANITIZE_LEAK=true Meta/Make -j16 test &&
36
+ SANITIZE=leak \
37
+ GIT_TEST_PASSING_SANITIZE_LEAK=true Meta/Make -j16 clean
38
;;
39
coccicheck)
40
SPATCH_FLAGS=--recursive-includes Meta/Make -j16 "$t"
41
;;
42
sparse)
41
- Meta/Make -j16 -- NO_REGEX=NoThanks SPARSE_FLAGS=-Wsparse-error "$t"
43
+ Meta/Make -j16 -- NO_REGEX=NoThanks SPARSE_FLAGS=-Wsparse-error "$t" &&
44
+ Meta/Make -j16 -- NO_REGEX=NoThanks clean >/dev/null 2>&1
45
;;
46
*)
47
Meta/Make -j16 "$t"