From 5038b9aaeced00396e37f4d6665f8afe21169a8a Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 29 Dec 2014 02:30:03 -0500 Subject: Print unit test failures to dstream --- src/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.cpp b/src/test.cpp index c30af0d1f..4cf4460be 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -59,7 +59,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define UTEST(x, fmt, ...)\ {\ if(!(x)){\ - LOGLINEF(LMT_ERROR, "Test (%s) failed: " fmt, #x, ##__VA_ARGS__);\ + dstream << "Test (" #x ") failed: " fmt << std::endl; \ test_failed = true;\ }\ } -- cgit v1.2.3