summaryrefslogtreecommitdiffstats
path: root/rtems-test-template/psxtmtest_unblocking_nopreempt
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-10-25 14:17:33 -0500
committerJoel Sherrill <joel@rtems.org>2018-10-25 14:17:33 -0500
commit6a0e43493925318caef11dbf4c5b12a4b3ddcb7d (patch)
treeb174a8de0ea25f0d4a69d315d2f2a0c47a3051c8 /rtems-test-template/psxtmtest_unblocking_nopreempt
parentsim-scripts/erc32-tsim.in: New file (diff)
downloadrtems-testing-6a0e43493925318caef11dbf4c5b12a4b3ddcb7d.tar.bz2
rtems-test-template: Update
Diffstat (limited to 'rtems-test-template/psxtmtest_unblocking_nopreempt')
-rw-r--r--rtems-test-template/psxtmtest_unblocking_nopreempt/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c b/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
index 4069772..d74bbfc 100644
--- a/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
+++ b/rtems-test-template/psxtmtest_unblocking_nopreempt/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2013.
+ * COPYRIGHT (c) 1989-2018.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -11,13 +11,13 @@
#include "config.h"
#endif
-#include <coverhd.h>
-#include <tmacros.h>
#include <timesys.h>
#include "test_support.h"
#include <pthread.h>
#include <sched.h>
-#include <rtems/timerdrv.h>
+#include <rtems/btimer.h>
+
+const char rtems_test_name[] = "@UPPER@";""
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
@@ -44,7 +44,7 @@ void *POSIX_Init(
pthread_t threadId;
long end_time;
- puts( "\n\n*** POSIX TIME TEST @UPPER@ ***" );
+ TEST_BEGIN();
status = pthread_create( &threadId, NULL, Blocker, NULL );
rtems_test_assert( status == 0 );
@@ -82,7 +82,7 @@ void *POSIX_Init(
0
);
- puts( "*** END OF POSIX TIME TEST @UPPER@ ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL;