Skip to content

Commit

Permalink
Print unit test failures to dstream
Browse files Browse the repository at this point in the history
  • Loading branch information
kwolekr committed Dec 29, 2014
1 parent 9eb4922 commit 5038b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.cpp
Expand Up @@ -59,7 +59,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define UTEST(x, fmt, ...)\ #define UTEST(x, fmt, ...)\
{\ {\
if(!(x)){\ if(!(x)){\
LOGLINEF(LMT_ERROR, "Test (%s) failed: " fmt, #x, ##__VA_ARGS__);\ dstream << "Test (" #x ") failed: " fmt << std::endl; \
test_failed = true;\ test_failed = true;\
}\ }\
} }
Expand Down

0 comments on commit 5038b9a

Please sign in to comment.