diff options
Diffstat (limited to 'math/atest-exp.c')
-rw-r--r-- | math/atest-exp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/math/atest-exp.c b/math/atest-exp.c index 3a538b251d..6a551deef0 100644 --- a/math/atest-exp.c +++ b/math/atest-exp.c @@ -102,8 +102,8 @@ mpn_bitsize(const mp_limb_t *SRC_PTR, mp_size_t SIZE) return i * mpbpl + j; } -int -main (void) +static int +do_test (void) { mp1 ex, x, xt, e2, e3; int i; @@ -190,3 +190,6 @@ main (void) return failures == 0 ? 0 : 1; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |