Skip to content

Commit 5038b9a

Browse files
committedDec 29, 2014
Print unit test failures to dstream
1 parent 9eb4922 commit 5038b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
5959
#define UTEST(x, fmt, ...)\
6060
{\
6161
if(!(x)){\
62-
LOGLINEF(LMT_ERROR, "Test (%s) failed: " fmt, #x, ##__VA_ARGS__);\
62+
dstream << "Test (" #x ") failed: " fmt << std::endl; \
6363
test_failed = true;\
6464
}\
6565
}

0 commit comments

Comments
 (0)
Please sign in to comment.