summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common/Test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index 64acfade..fa3dcc83 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -41,7 +41,8 @@ extern std::string bbackupd_args, bbstored_args, bbackupquery_args, test_args;
first_fail_line = __LINE__; \
} \
failures++; \
- printf("FAILURE: %s at " __FILE__ ":%d\n", msg, __LINE__); \
+ BOX_ERROR("**** TEST FAILURE: " << msg << " at " << __FILE__ << \
+ ":" << __LINE__); \
}
#define TEST_ABORT_WITH_MESSAGE(msg) {TEST_FAIL_WITH_MESSAGE(msg); return 1;}