forked from Imagelibrary/rtems
smptests/smpmigration01: Fix start sequence
Start the runner after the context is initialized.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user