summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx07/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/psx07/init.c
parentposix: Enable more smptests tests by default (diff)
downloadrtems-8dc1ed135a27fd0ee0135bb6e9f1a5fd7e709ebb.tar.bz2
posix: Enable more psxtests by default
Update #2514.
Diffstat (limited to 'testsuites/psxtests/psx07/init.c')
-rw-r--r--testsuites/psxtests/psx07/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 2c370a9869..16d1fa260c 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -556,6 +556,7 @@ void *POSIX_Init(
status = pthread_setschedparam( (pthread_t) -1, SCHED_OTHER, &schedparam );
fatal_directive_check_status_only( status, ESRCH, "invalid thread" );
+#if defined(RTEMS_POSIX_API)
/* now get sporadic server errors */
schedparam.sched_ss_repl_period.tv_sec = 0;
@@ -628,6 +629,7 @@ void *POSIX_Init(
status = pthread_join( Task2_id, NULL );
posix_service_failed( status, " pthread_join");
+#endif
TEST_END();
rtems_test_exit( 0 );