summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-18 13:49:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-18 13:51:22 +0100
commit55243d090e58650d9350b4389875dc0e353f8b6e (patch)
tree4bf297db2cb48a78f9d29bdabb4661f48b2519e6
parentlibmisc/redirector: Fix unlock on exit from the handler. (diff)
downloadrtems-55243d090e58650d9350b4389875dc0e353f8b6e.tar.bz2
testsupport: Do not suspend worker tasks
-rw-r--r--cpukit/libmisc/testsupport/testparallel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/libmisc/testsupport/testparallel.c b/cpukit/libmisc/testsupport/testparallel.c
index b8dc16c598..86c685b113 100644
--- a/cpukit/libmisc/testsupport/testparallel.c
+++ b/cpukit/libmisc/testsupport/testparallel.c
@@ -106,7 +106,9 @@ static void worker_task(rtems_task_argument arg)
run_tests(warg.ctx, warg.jobs, warg.job_count, warg.worker_index);
- rtems_task_suspend(RTEMS_SELF);
+ while (true) {
+ /* Wait for delete by master worker */
+ }
}
void rtems_test_parallel(