summaryrefslogtreecommitdiffstats
path: root/test/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.c')
-rw-r--r--test/index.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/index.c b/test/index.c
index c4ad10888f..4804cead2f 100644
--- a/test/index.c
+++ b/test/index.c
@@ -51,3 +51,7 @@ bool run_tests(struct MPContext *mpctx)
return num_run > 0; // still error if none
}
+
+#ifdef NDEBUG
+static_assert(false, "don't define NDEBUG for tests");
+#endif