summaryrefslogtreecommitdiff
path: root/tests/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils.h')
-rw-r--r--tests/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils.h b/tests/utils.h
index 8efe9d299f..d3a2ba8d16 100644
--- a/tests/utils.h
+++ b/tests/utils.h
@@ -75,11 +75,11 @@ extern const char *pkcs3_3072;
_fail("%s:%d: "format, __func__, __LINE__, ##__VA_ARGS__)
extern void _fail(const char *format, ...)
- __attribute__ ((format(printf, 1, 2)));
+ __attribute__ ((format(printf, 1, 2))) __attribute__((__noreturn__));
extern void fail_ignore(const char *format, ...)
- __attribute__ ((format(printf, 1, 2)));
+ __attribute__ ((format(printf, 1, 2))) __attribute__((__noreturn__));
extern void success(const char *format, ...)
- __attribute__ ((format(printf, 1, 2)));
+ __attribute__ ((format(printf, 1, 2)));
/* assumes test_name is defined */
#define test_fail(fmt, ...) \