diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/md501 | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/md501')
-rw-r--r-- | testsuites/libtests/md501/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/md501/init.c b/testsuites/libtests/md501/init.c index cf888fba05..1f13175de3 100644 --- a/testsuites/libtests/md501/init.c +++ b/testsuites/libtests/md501/init.c @@ -20,6 +20,8 @@ #include <md5.h> +const char rtems_test_name[] = "MD5 1"; + #ifndef MD5_BLOCK_SIZE #define MD5_BLOCK_SIZE 64 #endif @@ -231,11 +233,11 @@ static void test(void) static void Init(rtems_task_argument arg) { - puts("\n\n*** TEST MD5 1 ***"); + TEST_BEGIN(); test(); - puts("*** END OF TEST MD5 1 ***"); + TEST_END(); rtems_test_exit(0); } @@ -247,6 +249,8 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |