summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/test-info.h
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/include/rtems/test-info.h
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/include/rtems/test-info.h')
-rw-r--r--cpukit/include/rtems/test-info.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/cpukit/include/rtems/test-info.h b/cpukit/include/rtems/test-info.h
index c1b41ccc6e..a5c00c423a 100644
--- a/cpukit/include/rtems/test-info.h
+++ b/cpukit/include/rtems/test-info.h
@@ -3,10 +3,9 @@
/**
* @file
*
- * @ingroup RTEMSTestFramework
+ * @ingroup RTEMSTest
*
- * @brief This header file provides interfaces of the
- * RTEMS Test Framework.
+ * @brief This header file provides interfaces of the RTEMS Test Support.
*/
/*
@@ -38,7 +37,6 @@
#define _RTEMS_TEST_H
#include <rtems.h>
-#include <rtems/printer.h>
#include <rtems/score/atomic.h>
#include <rtems/score/smpbarrier.h>
@@ -62,11 +60,6 @@ extern "C" {
extern const char rtems_test_name[];
/**
- * @brief Each test must define a printer.
- */
-extern rtems_printer rtems_test_printer;
-
-/**
* @brief Fatal extension for tests.
*/
void rtems_test_fatal_extension(
@@ -134,13 +127,6 @@ int rtems_test_end(const char* name);
*/
RTEMS_NO_RETURN void rtems_test_exit(int status);
-/**
- * @brief Prints via the RTEMS printer.
- *
- * @return As specified by printf().
- */
-int rtems_test_printf(const char* format, ...) RTEMS_PRINTFLIKE(1, 2);
-
#define RTEMS_TEST_PARALLEL_PROCESSOR_MAX 32
typedef struct rtems_test_parallel_job rtems_test_parallel_job;