diff options
Diffstat (limited to 'tests/common.h')
| -rw-r--r-- | tests/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.h b/tests/common.h index 4bd5a4e..3c116a2 100644 --- a/tests/common.h +++ b/tests/common.h | |||
| @@ -50,7 +50,7 @@ set_fortify_handler (void) | |||
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | #define FAIL() \ | 52 | #define FAIL() \ |
| 53 | do { fprintf (stderr, "Failure on line %d\n", __LINE__); ret = 1; } while (0) | 53 | do { fprintf (stderr, "Failure in %s:%d\n", __FILE__, __LINE__); ret = 1; } while (0) |
| 54 | #define CHK_FAIL_START \ | 54 | #define CHK_FAIL_START \ |
| 55 | chk_fail_ok = 1; \ | 55 | chk_fail_ok = 1; \ |
| 56 | if (! setjmp (chk_fail_buf)) \ | 56 | if (! setjmp (chk_fail_buf)) \ |
