summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-25 14:08:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-29 10:52:48 +0100
commit8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb (patch)
tree55a3c222ac8de1913abca4c9471361f05d9fd425 /testsuites/psxtests/psxmsgq01/init.c
parent24f3e8fd5bd7e7749cb8e5ed506520126137319e (diff)
downloadrtems-8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb.tar.bz2
posix: Enable more psxtests by default
Update #2514.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c3
1 files changed, 2 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)