summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmigration01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-08 10:57:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-08 14:11:23 +0200
commitc8670f50d7b9c9b5d04d18020bcf9e1599c5b382 (patch)
tree460af7c3bf9bd285b9632b59557a7b8549a96613 /testsuites/smptests/smpmigration01
parentscore: Rename _Scheduler_simple_Update() (diff)
downloadrtems-c8670f50d7b9c9b5d04d18020bcf9e1599c5b382.tar.bz2
smptests/smpmigration01: Fix start sequence
Start the runner after the context is initialized.
Diffstat (limited to 'testsuites/smptests/smpmigration01')
-rw-r--r--testsuites/smptests/smpmigration01/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/smptests/smpmigration01/init.c b/testsuites/smptests/smpmigration01/init.c
index ccad57ff46..1500dba3bc 100644
--- a/testsuites/smptests/smpmigration01/init.c
+++ b/testsuites/smptests/smpmigration01/init.c
@@ -131,7 +131,9 @@ static void test(void)
&ctx->runner_ids[runner_index]
);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
+ }
+ for (runner_index = 0; runner_index < RUNNER_COUNT; ++runner_index) {
sc = rtems_task_start(ctx->runner_ids[runner_index], runner, runner_index);
rtems_test_assert(sc == RTEMS_SUCCESSFUL);
}