diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-12-03 11:34:32 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-12-03 20:32:15 +0100 |
commit | ee1740e38db69c6353f6b13beed894c15ce1b5d1 (patch) | |
tree | 58c018d3f9babdc4750866801afd6673665dc3f0 | |
parent | ff8d2195228bbd9556e050124ce1ad32337bc772 (diff) | |
download | gnutls-ee1740e38db69c6353f6b13beed894c15ce1b5d1.tar.gz |
tests: utils.h: forbid compilation with NDEBUGtmp-pkcs11-update
This allows to rely on the assert() macro being functional on
the test suite.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | tests/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils.h b/tests/utils.h index d59c8e7bfe..a6ef3e4600 100644 --- a/tests/utils.h +++ b/tests/utils.h @@ -37,6 +37,10 @@ #endif #endif +#ifdef NDEBUG +# error tests cannot be compiled with NDEBUG defined +#endif + inline static int global_init(void) { #ifdef ENABLE_PKCS11 |