[net-legacy PATCH] tests: Add header for RTEMS test printer

chrisj at rtems.org chrisj at rtems.org
Wed Oct 4 22:12:59 UTC 2023


From: Chris Johns <chrisj at rtems.org>

---
 libtest/testbeginend.c     | 1 +
 libtest/testwrappers.c     | 1 +
 testsuites/loopback/init.c | 1 +
 testsuites/pppd/init.c     | 4 +++-
 4 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libtest/testbeginend.c b/libtest/testbeginend.c
index 89b2468..83f1d3c 100644
--- a/libtest/testbeginend.c
+++ b/libtest/testbeginend.c
@@ -19,6 +19,7 @@
 #endif
 
 #include <rtems/test-info.h>
+#include <rtems/test-printer.h>
 #include <rtems/bspIo.h>
 #include <rtems/version.h>
 
diff --git a/libtest/testwrappers.c b/libtest/testwrappers.c
index 9679f75..052ebf8 100644
--- a/libtest/testwrappers.c
+++ b/libtest/testwrappers.c
@@ -11,6 +11,7 @@
 #endif
 
 #include <rtems/test-info.h>
+#include <rtems/test-printer.h>
 
 int __wrap_printf(const char* format, ...);
 int __wrap_puts(const char *str);
diff --git a/testsuites/loopback/init.c b/testsuites/loopback/init.c
index 891225c..d2aafcc 100644
--- a/testsuites/loopback/init.c
+++ b/testsuites/loopback/init.c
@@ -8,6 +8,7 @@
 #include "config.h"
 #endif
 
+#include <rtems/test-printer.h>
 #include <tmacros.h>
 
 const char rtems_test_name[] = "LOOPBACK";
diff --git a/testsuites/pppd/init.c b/testsuites/pppd/init.c
index 95e0d53..12a57e0 100644
--- a/testsuites/pppd/init.c
+++ b/testsuites/pppd/init.c
@@ -21,9 +21,11 @@
 #include <rtems/rtems_bsdnet.h>
 #include <rtems/rtemspppd.h>
 #include <rtems/shell.h>
-#include "netconfig.h"
+#include <rtems/test-printer.h>
 #include <tmacros.h>
 
+#include "netconfig.h"
+
 const char rtems_test_name[] = "PPPD";
 
 static void notification(int fd, int seconds_remaining, void *arg)
-- 
2.37.1



More information about the devel mailing list