summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2023-08-22 19:37:20 +0200
committerjvoisin2023-08-22 19:37:20 +0200
commitf3ff539ee4d739d704415f3ff17d72a822bb3d9b (patch)
treeacdb58411e55ef73d29c041143f1ff62e4dda1c0
parente93e9325285eafba1afd60e56a6afb400cf9c8f3 (diff)
Show the failing file name in the testsuite
-rw-r--r--tests/common.h2
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)) \