summaryrefslogtreecommitdiffstats
path: root/testsuites/benchmarks
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 /testsuites/benchmarks
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 'testsuites/benchmarks')
-rw-r--r--testsuites/benchmarks/linpack/linpack-pc.c2
-rw-r--r--testsuites/benchmarks/whetstone/whetstone.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/benchmarks/linpack/linpack-pc.c b/testsuites/benchmarks/linpack/linpack-pc.c
index 1fef18eb96..5f00df1d7c 100644
--- a/testsuites/benchmarks/linpack/linpack-pc.c
+++ b/testsuites/benchmarks/linpack/linpack-pc.c
@@ -224,7 +224,7 @@
#include <math.h>
#include <stdlib.h>
#ifdef __rtems__
-#include <tmacros.h>
+#include <rtems/test-printer.h>
#undef print_time
#define fprintf(f, ...) rtems_printf(&rtems_test_printer, __VA_ARGS__)
#endif /* __rtems__ */
diff --git a/testsuites/benchmarks/whetstone/whetstone.c b/testsuites/benchmarks/whetstone/whetstone.c
index e0a93aa88c..aae68af6a6 100644
--- a/testsuites/benchmarks/whetstone/whetstone.c
+++ b/testsuites/benchmarks/whetstone/whetstone.c
@@ -57,7 +57,7 @@ C**********************************************************************
#include <string.h>
#include <math.h>
#ifdef __rtems__
-#include <tmacros.h>
+#include <rtems/test-printer.h>
#define fprintf(f, ...) rtems_printf(&rtems_test_printer, __VA_ARGS__)
#endif /* __rtems__ */