*/
const char *test_strerror(test_return_t code);
-#define test_truth(A) \
+#define test_fail(A) \
+do \
+{ \
+ fprintf(stderr, "\nFailed in %s:%d: %s\n", __FILE__, __LINE__, #A);\
+ create_core(); \
+ return TEST_FAILURE; \
+} while (0)
+
+#define test_true(A) \
do \
{ \
if (! (A)) { \