aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-29 02:30:03 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-29 02:30:03 -0500
commit5038b9aaeced00396e37f4d6665f8afe21169a8a (patch)
tree1004cee319e203785c76a00c0d01bc566bada258
parent9eb492229b47aa10388555056e7f4effee841371 (diff)
downloadminetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.tar.gz
minetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.tar.bz2
minetest-5038b9aaeced00396e37f4d6665f8afe21169a8a.zip
Print unit test failures to dstream
-rw-r--r--src/test.cpp2
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;\
}\
}