[PATCH 02/33] libtest: Move <t.h> to <rtems/test.h>
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jul 21 15:04:19 UTC 2020
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(-)
rename cpukit/include/{t.h => rtems/test.h} (100%)
diff --git a/cpukit/headers.am b/cpukit/headers.am
index 248707dc8a..f74e0228da 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/telnetd.h
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.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 c33b196206..d18a3bd273 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 58e9fb64f5..e14ce65246 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 b9e1f7b5f5..7824fa54c1 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 4793a508e5..25584cce14 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 83f32bebf5..369bff9a57 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 82c93f9afe..10f7322d92 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 a836c9f9bd..57957925ad 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 6755e886b2..6d3204ab33 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 80b404f1ad..162aad0e93 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 246e8f24e5..a5d6b4d72f 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 7f53005862..f8e2b4b747 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 94a9ca393b..156ceaad1f 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 aedf9a49b1..16018335c9 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 7abbd9e364..a30211317e 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 cd4d41ca74..398539fe8e 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 b1c109ca15..d3ce67eeb5 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 9a0abb8b6e..71b14c08f6 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 f130525498..c334b5e1f7 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 211edbbbb8..6fa062f6c8 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 6c3c7ba168..60c3be1afb 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 6fd0031133..923ad1989c 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 f6734d4829..bf1b822c0e 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 4dcf1f35d5..14066ddf7b 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 0cbb196801..155704c478 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 c080a15111..b43fd96846 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 1f9f37dfdf..1f94b7318c 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 87954b4e22..f98e3a1dfa 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 3364ff5716..6d5ee9f7ab 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 1a82f745b5..56139f9474 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 20148d7ea1..a324290e56 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 0cf422a0c3..486969c85c 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 d4269e92d8..b6ee9f93cc 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
--
2.26.2
More information about the devel
mailing list