smptests/smpmigration01: Fix start sequence

Start the runner after the context is initialized.
This commit is contained in:
Sebastian Huber
2013-08-08 10:57:58 +02:00
parent 3346106b4c
commit c8670f50d7

View File

@@ -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);
}