diff --git a/tests/scripts/faketime-all.sh b/tests/scripts/faketime-all.sh index 57de29034c..b424b53f82 100755 --- a/tests/scripts/faketime-all.sh +++ b/tests/scripts/faketime-all.sh @@ -894,6 +894,30 @@ helper_libtestdriver1_make_main() { make CFLAGS="$ASAN_CFLAGS -I../tests/include -I../tests -I../../tests -DPSA_CRYPTO_DRIVER_TEST -DMBEDTLS_TEST_LIBTESTDRIVER1 $loc_accel_flags" LDFLAGS="-ltestdriver1 $ASAN_CFLAGS" "$@" } +################################################################ +#### Helpers for checking `tests/data_files` +################################################################ + +helper_datafile_run_tests () { + msg "build: $1" # ~ 1 min 50s + CC=gcc make + + msg "test: main suites" # ~ 50s + CC=gcc make test + + msg "test: selftest" # ~ 10s + programs/test/selftest + + msg "test: ssl-opt.sh" # ~ 1 min + tests/ssl-opt.sh + + msg "test: compat.sh" # ~ 6 min + tests/compat.sh + + msg "test: context-info.sh" # ~ 15 sec + tests/context-info.sh +} + ################################################################ #### Basic checks ################################################################