summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/ttest01/test-simple.c
diff options
context:
space:
mode:
authorMikail Yayla <mikail.yayla@tu-dortmund.de>2019-04-09 18:48:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-10-11 08:55:53 +0200
commit5a1df5e73eb4d538aefd6efde00ea5762126a1c9 (patch)
tree547ae19837f7eafdbd0900b517d5b75bef08a25a /testsuites/libtests/ttest01/test-simple.c
parentttest01: Add more test cases (diff)
downloadrtems-5a1df5e73eb4d538aefd6efde00ea5762126a1c9.tar.bz2
ttest01: Add test outputs all test cases
Diffstat (limited to 'testsuites/libtests/ttest01/test-simple.c')
-rw-r--r--testsuites/libtests/ttest01/test-simple.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/libtests/ttest01/test-simple.c b/testsuites/libtests/ttest01/test-simple.c
index 1f69ab22a7..87954b4e22 100644
--- a/testsuites/libtests/ttest01/test-simple.c
+++ b/testsuites/libtests/ttest01/test-simple.c
@@ -14,6 +14,14 @@ T_TEST_CASE(a_test_case)
T_true(false, "a test failure message");
}
+#include "t-self-test.h"
+
+T_TEST_OUTPUT(a_test_case,
+"B:a_test_case\n"
+"P:0:0:UI1:test-simple.c:13\n"
+"F:1:0:UI1:test-simple.c:14:a test failure message\n"
+"E:a_test_case:N:2:F:1:D:0.001000\n");
+
/*
* The license is at the end of the file to be able to use the test code and
* output in examples in the documentation. This is also the reason for the