From ce9022ad5df669de08ae69cf2772713041132952 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 24 Oct 2016 12:44:25 +0200 Subject: [PATCH] fix tests.c when USE_GRAPHENE=0 --- tests.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests.c b/tests.c index 757324b999..6b0394c67d 100644 --- a/tests.c +++ b/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);