mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 19:00:58 +00:00
fix tests.c when USE_GRAPHENE=0
This commit is contained in:
parent
420c71992a
commit
ce9022ad5d
6
tests.c
6
tests.c
@ -423,6 +423,8 @@ START_TEST(test_base58)
|
||||
}
|
||||
END_TEST
|
||||
|
||||
#if USE_GRAPHENE
|
||||
|
||||
// Graphene Base85CheckEncoding
|
||||
START_TEST(test_base58gph)
|
||||
{
|
||||
@ -455,6 +457,8 @@ START_TEST(test_base58gph)
|
||||
}
|
||||
END_TEST
|
||||
|
||||
#endif
|
||||
|
||||
START_TEST(test_bignum_divmod)
|
||||
{
|
||||
uint32_t r;
|
||||
@ -2712,9 +2716,11 @@ Suite *test_suite(void)
|
||||
tcase_add_test(tc, test_base58);
|
||||
suite_add_tcase(s, tc);
|
||||
|
||||
#if USE_GRAPHENE
|
||||
tc = tcase_create("base58gph");
|
||||
tcase_add_test(tc, test_base58gph);
|
||||
suite_add_tcase(s, tc);
|
||||
#endif
|
||||
|
||||
tc = tcase_create("bignum_divmod");
|
||||
tcase_add_test(tc, test_bignum_divmod);
|
||||
|
Loading…
Reference in New Issue
Block a user