summaryrefslogtreecommitdiff
path: root/cpukit/libtest/testbeginend.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libtest/testbeginend.c')
-rw-r--r--cpukit/libtest/testbeginend.c35
1 files changed, 2 insertions, 33 deletions
diff --git a/cpukit/libtest/testbeginend.c b/cpukit/libtest/testbeginend.c
index bacca81788..c0201ec41e 100644
--- a/cpukit/libtest/testbeginend.c
+++ b/cpukit/libtest/testbeginend.c
@@ -23,12 +23,6 @@
#include <rtems/version.h>
#include <rtems/score/io.h>
-#if !defined(RTEMS_QUAL_ONLY)
-rtems_printer rtems_test_printer = {
- .printer = rtems_printk_printer
-};
-#endif
-
static const char* const test_state_strings[] =
{
"EXPECTED_PASS",
@@ -40,7 +34,7 @@ static const char* const test_state_strings[] =
int rtems_test_begin(const char* name, const RTEMS_TEST_STATE state)
{
-#if defined(RTEMS_QUAL_ONLY)
+#if defined(RTEMS_QUAL)
return _IO_Printf(
rtems_put_char,
NULL,
@@ -83,7 +77,7 @@ int rtems_test_begin(const char* name, const RTEMS_TEST_STATE state)
int rtems_test_end(const char* name)
{
-#if defined(RTEMS_QUAL_ONLY)
+#if defined(RTEMS_QUAL)
return _IO_Printf(
rtems_put_char,
NULL,
@@ -94,28 +88,3 @@ int rtems_test_end(const char* name)
"\n*** END OF TEST %s ***\n\n", name
);
}
-
-#if !defined(RTEMS_QUAL_ONLY)
-void rtems_test_exit(int status)
-{
- (void) status;
- rtems_shutdown_executive(0);
-}
-
-int rtems_test_printf(
- const char* format,
- ...
-)
-{
- va_list ap;
- int len;
- va_start(ap, format);
- len = rtems_vprintf(
- &rtems_test_printer,
- format,
- ap
- );
- va_end(ap);
- return len;
-}
-#endif