diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-29 02:30:03 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-29 02:30:03 -0500 |
commit | 5038b9aaeced00396e37f4d6665f8afe21169a8a (patch) | |
tree | 1004cee319e203785c76a00c0d01bc566bada258 | |
parent | 9eb492229b47aa10388555056e7f4effee841371 (diff) | |
download | minetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.tar.gz minetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.tar.bz2 minetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.zip |
Print unit test failures to dstream
-rw-r--r-- | src/test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;\ }\ } |