File tree Expand file tree Collapse file tree 1 file changed +18
-27
lines changed Expand file tree Collapse file tree 1 file changed +18
-27
lines changed Original file line number Diff line number Diff line change 269
269
section hdr-check
270
270
Meta/Make $M $jobs -- hdr-check &&
271
271
272
- # SANITIZE=address,undefined
273
- case " $dotest ,$san ,$with_sha256 " in
274
- ' ' )
275
- ;;
276
- test,,)
277
- section test
278
- Meta/Make $M $noprove ${test+" $test " } $jobs $test_long $memtrash \
279
- -- ${with_dash: +SHELL_PATH=/ bin/ dash} " $@ " $dotest
280
- ;;
281
- * ,t,* )
272
+ if test -n " $san "
273
+ then
282
274
section SANITIZE=address,undefined
283
275
SANITIZE=address,undefined Meta/Make $M $jobs test &&
284
276
Meta/Make > /dev/null distclean
285
- ;;
286
- esac &&
287
-
288
- # sha256
289
- if test -n " $with_sha256 "
277
+ elif test " $with_leaks$with_sha256$dotest " = test
278
+ then
279
+ section test
280
+ Meta/Make $M $noprove ${test+" $test " } $jobs $test_long \
281
+ $memtrash \
282
+ -- ${with_dash: +SHELL_PATH=/ bin/ dash} " $@ " $dotest
283
+ elif test -n " $with_leaks "
284
+ then
285
+ section leaks
286
+ (
287
+ export SANITIZE=leak
288
+ export GIT_TEST_PASSING_SANITIZE_LEAK=true
289
+ Meta/Make -j16 $T CC=clang test &&
290
+ Meta/Make -j16 > /dev/null distclean
291
+ )
292
+ elif test -n " $with_sha256 "
290
293
then
291
294
section sha256
292
295
(
310
313
fi
311
314
} &&
312
315
313
- # leaks
314
- if test -n " $with_leaks "
315
- then
316
- section leaks
317
- (
318
- export SANITIZE=leak
319
- export GIT_TEST_PASSING_SANITIZE_LEAK=true
320
- Meta/Make -j16 $T CC=clang test &&
321
- Meta/Make -j16 > /dev/null distclean
322
- )
323
- fi &&
324
-
325
316
{
326
317
test z$install = znoinstall ||
327
318
if test " $save " = " $( git rev-parse HEAD) "
You can’t perform that action at this time.
0 commit comments