1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 16:00:57 +00:00

tests: Skip speed tests when running on Valgrind

This commit is contained in:
Saleem Rashid 2017-06-03 15:47:06 +01:00 committed by Pavol Rusnak
parent d5b148ad5f
commit 50301f22ec

10
tests.c
View File

@ -3157,10 +3157,12 @@ Suite *test_suite(void)
tcase_add_test(tc, test_rfc6979);
suite_add_tcase(s, tc);
tc = tcase_create("speed");
tcase_add_test(tc, test_sign_speed);
tcase_add_test(tc, test_verify_speed);
suite_add_tcase(s, tc);
if (!RUNNING_ON_VALGRIND) {
tc = tcase_create("speed");
tcase_add_test(tc, test_sign_speed);
tcase_add_test(tc, test_verify_speed);
suite_add_tcase(s, tc);
}
tc = tcase_create("address");
tcase_add_test(tc, test_address);