diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 14:08:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-29 10:52:48 +0100 |
commit | 8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb (patch) | |
tree | 55a3c222ac8de1913abca4c9471361f05d9fd425 /testsuites/psxtests/psxmsgq01 | |
parent | posix: Enable more smptests tests by default (diff) | |
download | rtems-8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb.tar.bz2 |
posix: Enable more psxtests by default
Update #2514.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psxmsgq01/system.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 3f34d39cef..50a370d75a 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -940,6 +940,7 @@ void wait_for_signal( void verify_notify(void) { +#if defined(RTEMS_POSIX_API) struct sigevent event; int status; timer_t timer_id; @@ -1019,7 +1020,7 @@ void verify_notify(void) Show_send_msg_to_que( "Init:", RW_QUEUE, 0 ); wait_for_signal( &set, 3, 0 ); Read_msg_from_que( RW_QUEUE, 0 ); - +#endif } void verify_with_threads(void) diff --git a/testsuites/psxtests/psxmsgq01/system.h b/testsuites/psxtests/psxmsgq01/system.h index 367b756b4b..27d158a3da 100644 --- a/testsuites/psxtests/psxmsgq01/system.h +++ b/testsuites/psxtests/psxmsgq01/system.h @@ -38,8 +38,10 @@ void *Task_5(void *argument); #define CONFIGURE_MAXIMUM_POSIX_THREADS 5 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10 +#if defined(RTEMS_POSIX_API) #define CONFIGURE_MAXIMUM_POSIX_TIMERS 4 #define CONFIGURE_MAXIMUM_TIMERS 4 +#endif #define CONFIGURE_POSIX_INIT_THREAD_TABLE #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \ |