summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstdthreads01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-29 08:59:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-29 10:52:48 +0100
commitbb3484c9ecdaac27f7889ad87c223a1774fb7564 (patch)
tree7853c99b0353cb4d2a6e4c145858f1fc389335e2 /testsuites/sptests/spstdthreads01
parentposix: Enable more psxtests by default (diff)
downloadrtems-bb3484c9ecdaac27f7889ad87c223a1774fb7564.tar.bz2
posix: Enable more sptests test cases by default
Update #2514.
Diffstat (limited to 'testsuites/sptests/spstdthreads01')
-rw-r--r--testsuites/sptests/spstdthreads01/init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/testsuites/sptests/spstdthreads01/init.c b/testsuites/sptests/spstdthreads01/init.c
index 5b4538b40a..862542b1f2 100644
--- a/testsuites/sptests/spstdthreads01/init.c
+++ b/testsuites/sptests/spstdthreads01/init.c
@@ -244,16 +244,13 @@ static void test_tss(test_context *ctx)
tss_delete(ctx->tss);
}
-#if defined(RTEMS_POSIX_API)
static int thrd(void *arg)
{
thrd_exit(123);
}
-#endif
static void test_thrd(test_context *ctx)
{
-#if defined(RTEMS_POSIX_API)
thrd_start_t thrd_start = thrd;
int status;
int exit_status;
@@ -292,7 +289,6 @@ static void test_thrd(test_context *ctx)
status = thrd_detach(11235);
rtems_test_assert(status == thrd_error);
-#endif
}
static void high_task(rtems_task_argument idx)
@@ -417,10 +413,7 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_POSIX_KEYS 1
#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 1
-
-#if defined(RTEMS_POSIX_API)
#define CONFIGURE_MAXIMUM_POSIX_THREADS 1
-#endif
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION