summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/ttest01/test-fixture.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-fixture.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-fixture.c')
-rw-r--r--testsuites/libtests/ttest01/test-fixture.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuites/libtests/ttest01/test-fixture.c b/testsuites/libtests/ttest01/test-fixture.c
index b5b8d4493a..6c3c7ba168 100644
--- a/testsuites/libtests/ttest01/test-fixture.c
+++ b/testsuites/libtests/ttest01/test-fixture.c
@@ -57,6 +57,26 @@ T_TEST_CASE_FIXTURE(fixture, &fixture)
T_log(T_QUIET, "not reached");
}
+#include "t-self-test.h"
+
+T_TEST_OUTPUT(fixture,
+"B:fixture\n"
+"L:setup begin\n"
+"P:0:0:UI1:test-fixture.c:13\n"
+"P:1:0:UI1:test-fixture.c:14\n"
+"P:2:0:UI1:test-fixture.c:18\n"
+"L:setup end\n"
+"P:3:0:UI1:test-fixture.c:55\n"
+"F:4:0:UI1:test-fixture.c:56:test fails and we stop the test case\n"
+"L:stop begin\n"
+"P:5:0:UI1:test-fixture.c:28\n"
+"L:stop end\n"
+"L:teardown begin\n"
+"P:6:0:UI1:test-fixture.c:40\n"
+"P:7:0:UI1:test-fixture.c:42\n"
+"L:teardown end\n"
+"E:fixture:N:8: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