uORBTest_UnitTest: say who you are in the printf

This commit is contained in:
Ban Siesta
2015-06-13 09:11:02 +01:00
committed by Lorenz Meier
parent 56a8f0e604
commit 45f5907716
+2 -2
View File
@@ -260,7 +260,7 @@ int uORBTest::UnitTest::test_fail(const char *fmt, ...)
{
va_list ap;
fprintf(stderr, "FAIL: ");
fprintf(stderr, "uORB FAIL: ");
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
@@ -273,7 +273,7 @@ int uORBTest::UnitTest::test_note(const char *fmt, ...)
{
va_list ap;
fprintf(stderr, "note: ");
fprintf(stderr, "uORB note: ");
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);