Include test when NDEBUG is not defined (checking for DEBUG was

the wrong thing to do when building in release with assertions on)
This commit is contained in:
Nils O. Selåsdal
2013-12-18 18:40:55 +01:00
parent f9f4f3192a
commit ddf82372e1
+1 -1
View File
@@ -89,7 +89,7 @@ Suite *dbuf_suite(void)
Suite *s = suite_create("dbuf");
TCase *tc = tcase_create("dbuf tests");
tcase_add_test(tc, test_dbuf);
#ifdef DEBUG
#ifndef NDEBUG
tcase_add_test_raise_signal(tc, test_dbuf_take_fail, SIGABRT);
#else
tcase_add_test(tc, test_dbuf_take_fail);