summaryrefslogtreecommitdiffstats
path: root/cpukit/libtest
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-09-22 14:14:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-09-26 08:04:30 +0200
commitee63681aeb6645f765eaeab1f42ef149ffcfbf2a (patch)
treeb02542b9659dbb170947db493020920a9aa95b8b /cpukit/libtest
parentbsps/xqspipsu: Add SFDP config space read ability (diff)
downloadrtems-ee63681aeb6645f765eaeab1f42ef149ffcfbf2a.tar.bz2
tests: Add header for RTEMS test printer
The <rtems/test-info.h> header file is required for every RTEMS test program. Move the RTEMS test printer support to a dedicated header file <rtems/test-printer.h>. This removes an unnecessary dependency to the RTEMS printer support in <rtems/test-info.h>. Tests using the RTEMS Testing Framework no longer depend on the <rtems/printer.h>.
Diffstat (limited to 'cpukit/libtest')
-rw-r--r--cpukit/libtest/testbeginend.c1
-rw-r--r--cpukit/libtest/testwrappers.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libtest/testbeginend.c b/cpukit/libtest/testbeginend.c
index 546fdf65ff..eca8712b35 100644
--- a/cpukit/libtest/testbeginend.c
+++ b/cpukit/libtest/testbeginend.c
@@ -41,6 +41,7 @@
#endif
#include <rtems/test-info.h>
+#include <rtems/test-printer.h>
#include <rtems/bspIo.h>
#include <rtems/version.h>
diff --git a/cpukit/libtest/testwrappers.c b/cpukit/libtest/testwrappers.c
index 3c6e8fccc3..2316208f7c 100644
--- a/cpukit/libtest/testwrappers.c
+++ b/cpukit/libtest/testwrappers.c
@@ -29,7 +29,7 @@
#include "config.h"
#endif
-#include <rtems/test-info.h>
+#include <rtems/test-printer.h>
int __wrap_printf(const char* format, ...);
int __wrap_puts(const char *str);