[rtems-net-legacy commit] tests: Add header for RTEMS test printer
Chris Johns
chrisj at rtems.org
Thu Oct 5 21:32:19 UTC 2023
Module: rtems-net-legacy
Branch: main
Commit: a1e5d91c818d0881293c3c9e7d549816d34f6c77
Changeset: http://git.rtems.org/rtems-net-legacy/commit/?id=a1e5d91c818d0881293c3c9e7d549816d34f6c77
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Oct 5 09:11:59 2023 +1100
tests: Add header for RTEMS test printer
---
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)
More information about the vc
mailing list