Skip to content
Permalink
Browse files

Print unit test failures to dstream

  • Loading branch information
kwolekr committed Dec 29, 2014
1 parent 9eb4922 commit 5038b9aaeced00396e37f4d6665f8afe21169a8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;\
}\
}

0 comments on commit 5038b9a

Please sign in to comment.
You can’t perform that action at this time.