[rtems commit] libtest: Move <t.h> to <rtems/test.h>
Sebastian Huber
sebh at rtems.org
Thu Jul 23 08:57:41 UTC 2020
Module: rtems
Branch: master
Commit: 361404e87d015a623be95212fea62f2337a3357a
Changeset: http://git.rtems.org/rtems/commit/?id=361404e87d015a623be95212fea62f2337a3357a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jul 17 13:46:24 2020 +0200
libtest: Move <t.h> to <rtems/test.h>
Update #3199.
---
cpukit/headers.am | 2 +-
cpukit/include/{t.h => rtems/test.h} | 0
cpukit/libtest/t-test-checks-eno.c | 2 +-
cpukit/libtest/t-test-checks-psx.c | 2 +-
cpukit/libtest/t-test-checks.c | 2 +-
cpukit/libtest/t-test-hash-sha256.c | 2 +-
cpukit/libtest/t-test-malloc.c | 2 +-
cpukit/libtest/t-test-rtems-context.c | 2 +-
cpukit/libtest/t-test-rtems-fds.c | 2 +-
cpukit/libtest/t-test-rtems-heap.c | 2 +-
cpukit/libtest/t-test-rtems-measure.c | 2 +-
cpukit/libtest/t-test-rtems-objs.c | 2 +-
cpukit/libtest/t-test-rtems.c | 2 +-
cpukit/libtest/t-test-time.c | 2 +-
cpukit/libtest/t-test.c | 2 +-
testsuites/libtests/ttest01/init.c | 2 +-
testsuites/libtests/ttest01/test-assert.c | 2 +-
testsuites/libtests/ttest01/test-checks.c | 2 +-
testsuites/libtests/ttest01/test-destructor.c | 2 +-
testsuites/libtests/ttest01/test-eno.c | 2 +-
testsuites/libtests/ttest01/test-example.c | 2 +-
testsuites/libtests/ttest01/test-fixture.c | 2 +-
testsuites/libtests/ttest01/test-leak.c | 2 +-
testsuites/libtests/ttest01/test-log.c | 2 +-
testsuites/libtests/ttest01/test-malloc.c | 2 +-
testsuites/libtests/ttest01/test-plan.c | 2 +-
testsuites/libtests/ttest01/test-psx.c | 2 +-
testsuites/libtests/ttest01/test-rtems.c | 2 +-
testsuites/libtests/ttest01/test-simple.c | 2 +-
testsuites/libtests/ttest01/test-step.c | 2 +-
testsuites/libtests/ttest01/test-task-context.c | 2 +-
testsuites/libtests/ttest01/test-time.c | 2 +-
testsuites/libtests/ttest01/test-verbosity.c | 2 +-
testsuites/smptests/smpmulticast01/init.c | 2 +-
34 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/cpukit/headers.am b/cpukit/headers.am
index b91d8dc..0bba967 100644
--- a/cpukit/headers.am
+++ b/cpukit/headers.am
@@ -17,7 +17,6 @@ include_HEADERS += include/poll.h
include_HEADERS += include/rtems.h
include_HEADERS += include/sha256.h
include_HEADERS += include/sha512.h
-include_HEADERS += include/t.h
include_HEADERS += include/xz.h
include_HEADERS += include/zconf.h
include_HEADERS += include/zlib.h
@@ -172,6 +171,7 @@ include_rtems_HEADERS += include/rtems/termios_printk.h
include_rtems_HEADERS += include/rtems/termios_printk_cnf.h
include_rtems_HEADERS += include/rtems/termiostypes.h
include_rtems_HEADERS += include/rtems/test-info.h
+include_rtems_HEADERS += include/rtems/test.h
include_rtems_HEADERS += include/rtems/tftp.h
include_rtems_HEADERS += include/rtems/thread.h
include_rtems_HEADERS += include/rtems/timecounter.h
diff --git a/cpukit/include/t.h b/cpukit/include/rtems/test.h
similarity index 100%
rename from cpukit/include/t.h
rename to cpukit/include/rtems/test.h
diff --git a/cpukit/libtest/t-test-checks-eno.c b/cpukit/libtest/t-test-checks-eno.c
index c33b196..d18a3bd 100644
--- a/cpukit/libtest/t-test-checks-eno.c
+++ b/cpukit/libtest/t-test-checks-eno.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <errno.h>
diff --git a/cpukit/libtest/t-test-checks-psx.c b/cpukit/libtest/t-test-checks-psx.c
index 58e9fb6..e14ce65 100644
--- a/cpukit/libtest/t-test-checks-psx.c
+++ b/cpukit/libtest/t-test-checks-psx.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <errno.h>
diff --git a/cpukit/libtest/t-test-checks.c b/cpukit/libtest/t-test-checks.c
index b9e1f7b..7824fa5 100644
--- a/cpukit/libtest/t-test-checks.c
+++ b/cpukit/libtest/t-test-checks.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <inttypes.h>
diff --git a/cpukit/libtest/t-test-hash-sha256.c b/cpukit/libtest/t-test-hash-sha256.c
index 4793a50..25584cc 100644
--- a/cpukit/libtest/t-test-hash-sha256.c
+++ b/cpukit/libtest/t-test-hash-sha256.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#if defined(__rtems__)
#include <sha256.h>
diff --git a/cpukit/libtest/t-test-malloc.c b/cpukit/libtest/t-test-malloc.c
index 83f32be..369bff9 100644
--- a/cpukit/libtest/t-test-malloc.c
+++ b/cpukit/libtest/t-test-malloc.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <stdlib.h>
diff --git a/cpukit/libtest/t-test-rtems-context.c b/cpukit/libtest/t-test-rtems-context.c
index 82c93f9..10f7322 100644
--- a/cpukit/libtest/t-test-rtems-context.c
+++ b/cpukit/libtest/t-test-rtems-context.c
@@ -27,7 +27,7 @@
#undef __STRICT_ANSI__
-#include <t.h>
+#include <rtems/test.h>
#include <rtems/score/isrlevel.h>
#include <rtems/score/percpu.h>
diff --git a/cpukit/libtest/t-test-rtems-fds.c b/cpukit/libtest/t-test-rtems-fds.c
index a836c9f..5795792 100644
--- a/cpukit/libtest/t-test-rtems-fds.c
+++ b/cpukit/libtest/t-test-rtems-fds.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libtest/t-test-rtems-heap.c b/cpukit/libtest/t-test-rtems-heap.c
index 6755e88..6d3204a 100644
--- a/cpukit/libtest/t-test-rtems-heap.c
+++ b/cpukit/libtest/t-test-rtems-heap.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <rtems/score/heapimpl.h>
#include <rtems/score/wkspace.h>
diff --git a/cpukit/libtest/t-test-rtems-measure.c b/cpukit/libtest/t-test-rtems-measure.c
index 80b404f..162aad0 100644
--- a/cpukit/libtest/t-test-rtems-measure.c
+++ b/cpukit/libtest/t-test-rtems-measure.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <alloca.h>
#include <inttypes.h>
diff --git a/cpukit/libtest/t-test-rtems-objs.c b/cpukit/libtest/t-test-rtems-objs.c
index 246e8f2..a5d6b4d 100644
--- a/cpukit/libtest/t-test-rtems-objs.c
+++ b/cpukit/libtest/t-test-rtems-objs.c
@@ -27,7 +27,7 @@
#undef __STRICT_ANSI__
-#include <t.h>
+#include <rtems/test.h>
#include <inttypes.h>
diff --git a/cpukit/libtest/t-test-rtems.c b/cpukit/libtest/t-test-rtems.c
index 7f53005..f8e2b4b 100644
--- a/cpukit/libtest/t-test-rtems.c
+++ b/cpukit/libtest/t-test-rtems.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <rtems.h>
#include <rtems/bspIo.h>
diff --git a/cpukit/libtest/t-test-time.c b/cpukit/libtest/t-test-time.c
index 94a9ca3..156ceaa 100644
--- a/cpukit/libtest/t-test-time.c
+++ b/cpukit/libtest/t-test-time.c
@@ -27,7 +27,7 @@
#undef __STRICT_ANSI__
-#include <t.h>
+#include <rtems/test.h>
#include <inttypes.h>
#include <stdatomic.h>
diff --git a/cpukit/libtest/t-test.c b/cpukit/libtest/t-test.c
index aedf9a4..1601833 100644
--- a/cpukit/libtest/t-test.c
+++ b/cpukit/libtest/t-test.c
@@ -27,7 +27,7 @@
#define _GNU_SOURCE
-#include <t.h>
+#include <rtems/test.h>
#include <sys/queue.h>
#include <limits.h>
diff --git a/testsuites/libtests/ttest01/init.c b/testsuites/libtests/ttest01/init.c
index 7abbd9e..a302113 100644
--- a/testsuites/libtests/ttest01/init.c
+++ b/testsuites/libtests/ttest01/init.c
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <t.h>
+#include <rtems/test.h>
#include <sys/time.h>
#include <string.h>
diff --git a/testsuites/libtests/ttest01/test-assert.c b/testsuites/libtests/ttest01/test-assert.c
index cd4d41c..398539f 100644
--- a/testsuites/libtests/ttest01/test-assert.c
+++ b/testsuites/libtests/ttest01/test-assert.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(assert)
{
diff --git a/testsuites/libtests/ttest01/test-checks.c b/testsuites/libtests/ttest01/test-checks.c
index b1c109c..d3ce67e 100644
--- a/testsuites/libtests/ttest01/test-checks.c
+++ b/testsuites/libtests/ttest01/test-checks.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <sys/types.h>
diff --git a/testsuites/libtests/ttest01/test-destructor.c b/testsuites/libtests/ttest01/test-destructor.c
index 9a0abb8..71b14c0 100644
--- a/testsuites/libtests/ttest01/test-destructor.c
+++ b/testsuites/libtests/ttest01/test-destructor.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
static void
destroy(T_destructor *dtor)
diff --git a/testsuites/libtests/ttest01/test-eno.c b/testsuites/libtests/ttest01/test-eno.c
index f130525..c334b5e 100644
--- a/testsuites/libtests/ttest01/test-eno.c
+++ b/testsuites/libtests/ttest01/test-eno.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <errno.h>
T_TEST_CASE(test_eno)
diff --git a/testsuites/libtests/ttest01/test-example.c b/testsuites/libtests/ttest01/test-example.c
index 211edbb..6fa062f 100644
--- a/testsuites/libtests/ttest01/test-example.c
+++ b/testsuites/libtests/ttest01/test-example.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(example)
{
diff --git a/testsuites/libtests/ttest01/test-fixture.c b/testsuites/libtests/ttest01/test-fixture.c
index 6c3c7ba..60c3be1 100644
--- a/testsuites/libtests/ttest01/test-fixture.c
+++ b/testsuites/libtests/ttest01/test-fixture.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
static int initial_value = 3;
diff --git a/testsuites/libtests/ttest01/test-leak.c b/testsuites/libtests/ttest01/test-leak.c
index 6fd0031..923ad19 100644
--- a/testsuites/libtests/ttest01/test-leak.c
+++ b/testsuites/libtests/ttest01/test-leak.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <stdlib.h>
diff --git a/testsuites/libtests/ttest01/test-log.c b/testsuites/libtests/ttest01/test-log.c
index f6734d4..bf1b822 100644
--- a/testsuites/libtests/ttest01/test-log.c
+++ b/testsuites/libtests/ttest01/test-log.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(log)
{
diff --git a/testsuites/libtests/ttest01/test-malloc.c b/testsuites/libtests/ttest01/test-malloc.c
index 4dcf1f3..14066dd 100644
--- a/testsuites/libtests/ttest01/test-malloc.c
+++ b/testsuites/libtests/ttest01/test-malloc.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(malloc_free)
{
diff --git a/testsuites/libtests/ttest01/test-plan.c b/testsuites/libtests/ttest01/test-plan.c
index 0cbb196..155704c 100644
--- a/testsuites/libtests/ttest01/test-plan.c
+++ b/testsuites/libtests/ttest01/test-plan.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(wrong_step)
{
diff --git a/testsuites/libtests/ttest01/test-psx.c b/testsuites/libtests/ttest01/test-psx.c
index c080a15..b43fd96 100644
--- a/testsuites/libtests/ttest01/test-psx.c
+++ b/testsuites/libtests/ttest01/test-psx.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <sys/stat.h>
#include <errno.h>
diff --git a/testsuites/libtests/ttest01/test-rtems.c b/testsuites/libtests/ttest01/test-rtems.c
index 1f9f37d..1f94b73 100644
--- a/testsuites/libtests/ttest01/test-rtems.c
+++ b/testsuites/libtests/ttest01/test-rtems.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <rtems.h>
diff --git a/testsuites/libtests/ttest01/test-simple.c b/testsuites/libtests/ttest01/test-simple.c
index 87954b4..f98e3a1 100644
--- a/testsuites/libtests/ttest01/test-simple.c
+++ b/testsuites/libtests/ttest01/test-simple.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
static int add(int a, int b)
{
diff --git a/testsuites/libtests/ttest01/test-step.c b/testsuites/libtests/ttest01/test-step.c
index 3364ff5..6d5ee9f 100644
--- a/testsuites/libtests/ttest01/test-step.c
+++ b/testsuites/libtests/ttest01/test-step.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(step)
{
diff --git a/testsuites/libtests/ttest01/test-task-context.c b/testsuites/libtests/ttest01/test-task-context.c
index 1a82f74..56139f9 100644
--- a/testsuites/libtests/ttest01/test-task-context.c
+++ b/testsuites/libtests/ttest01/test-task-context.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
#include <rtems/score/threaddispatch.h>
diff --git a/testsuites/libtests/ttest01/test-time.c b/testsuites/libtests/ttest01/test-time.c
index 20148d7..a324290 100644
--- a/testsuites/libtests/ttest01/test-time.c
+++ b/testsuites/libtests/ttest01/test-time.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(time_to_string)
{
diff --git a/testsuites/libtests/ttest01/test-verbosity.c b/testsuites/libtests/ttest01/test-verbosity.c
index 0cf422a..486969c 100644
--- a/testsuites/libtests/ttest01/test-verbosity.c
+++ b/testsuites/libtests/ttest01/test-verbosity.c
@@ -1,4 +1,4 @@
-#include <t.h>
+#include <rtems/test.h>
T_TEST_CASE(verbosity_changes)
{
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index d4269e9..b6ee9f9 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -33,7 +33,7 @@
#include <string.h>
-#include <t.h>
+#include <rtems/test.h>
#include <tmacros.h>
#define CPU_COUNT 32
More information about the vc
mailing list