From 8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 25 Oct 2018 14:08:26 +0200 Subject: posix: Enable more psxtests by default Update #2514. --- testsuites/psxtests/psxmsgq01/init.c | 3 ++- testsuites/psxtests/psxmsgq01/system.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxmsgq01') 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 \ -- cgit v1.2.3