From 765d240ca6890e7e801513d9705d08984ac27318 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 11 Feb 2020 18:26:34 +0100 Subject: [PATCH] Test component with malloc(0) returning NULL: run some ssl tests --- tests/scripts/all.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 173c096878..2ade64dac2 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1196,6 +1196,14 @@ component_test_malloc_0_null () { # Just the calloc selftest. "make test" ran the others as part of the # test suites. if_build_succeeded programs/test/selftest calloc + + msg "test ssl-opt.sh: malloc(0) returns NULL (ASan+UBSan build)" + # Run a subset of the tests. The choice is a balance between coverage + # and time (including time indirectly wasted due to flaky tests). + # The current choice is to skip tests whose description includes + # "proxy", which is an approximation of skipping tests that use the + # UDP proxy, which tend to be slower and flakier. + if_build_succeeded tests/ssl-opt.sh -e 'proxy' } component_test_make_shared () {