Commit fa871b5b authored by Niels Möller's avatar Niels Möller

Improved ASSERT failure message for testsuite.

parent 4daca969
2013-11-25 Niels Möller <nisse@lysator.liu.se>
* testsuite/testutils.h (ASSERT): Improved failure message.
* dsa-verify.c (dsa_verify): Renamed, from _dsa_verify.
* dsa-sign.c (dsa_sign): Renamed, from _dsa_sign.
......
......@@ -229,7 +229,8 @@ test_ecc_mul_j (unsigned curve, unsigned n, const mp_limb_t *p);
#define ASSERT(x) do { \
if (!(x)) \
{ \
fprintf(stderr, "Assert failed %d: %s\n", __LINE__, #x); \
fprintf(stderr, "Assert failed: %s:%d: %s\n", \
__FILE__, __LINE__, #x); \
FAIL(); \
} \
} while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment