mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Add helper function for data_files tests
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
f1bef0b31f
commit
6c192e9eda
@ -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
|
||||
################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user