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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user