mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-24 13:32:59 +03:00
Improve outcome reporting of additional valgrind_cf testing
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -23,6 +23,11 @@ test_with_valgrind () {
|
||||
## Exclude suites that contain some constant-time tests, but whose focus
|
||||
## isn't on constant-time tests.
|
||||
test_with_valgrind_constant_time () {
|
||||
# Use a different configuration name in the outcome file if we're doing
|
||||
# additional valgrind testing on top of non-instrumented testing.
|
||||
if [[ $MBEDTLS_TEST_CONFIGURATION != *valgrind_cf* ]]; then
|
||||
declare MBEDTLS_TEST_CONFIGURATION="${MBEDTLS_TEST_CONFIGURATION}+valgrind_cf"
|
||||
fi
|
||||
declare GLOBIGNORE="tests/suites/test_suite_constant_time_hmac.data"
|
||||
test_with_valgrind tests/suites/*constant_time*.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user