diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 09:46:45 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 09:47:19 +0100 |
commit | 65612ccb855c04d55f21c8c4f024ddb561da02a1 (patch) | |
tree | 0169ce7773836907daa3121ad9617e6d51655522 | |
parent | score: Fix heap protection (diff) | |
download | rtems-65612ccb855c04d55f21c8c4f024ddb561da02a1.tar.bz2 |
sptests/spprintk: Use <rtems/test.h>
-rw-r--r-- | testsuites/sptests/spprintk/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spprintk/init.c b/testsuites/sptests/spprintk/init.c index eb68d12614..eea17adcf2 100644 --- a/testsuites/sptests/spprintk/init.c +++ b/testsuites/sptests/spprintk/init.c @@ -16,6 +16,8 @@ #include <tmacros.h> #include <rtems/bspIo.h> +const char rtems_test_name[] = "SPPRINTK"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); int test_getchar(void); @@ -122,7 +124,7 @@ rtems_task Init( rtems_task_argument argument ) { - printk( "\n\n*** TEST PRINTK ***\n" ); + rtems_test_begink(); do_putk(); putk(""); @@ -132,7 +134,7 @@ rtems_task Init( do_getchark(); - printk( "*** END OF TEST PRINTK ***\n" ); + rtems_test_endk(); rtems_test_exit( 0 ); } |