[rtems commit] smptests/smpmigration01: Fix start sequence
Sebastian Huber
sebh at rtems.org
Thu Aug 8 12:11:18 UTC 2013
Module: rtems
Branch: master
Commit: c8670f50d7b9c9b5d04d18020bcf9e1599c5b382
Changeset: http://git.rtems.org/rtems/commit/?id=c8670f50d7b9c9b5d04d18020bcf9e1599c5b382
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Aug 8 10:57:58 2013 +0200
smptests/smpmigration01: Fix start sequence
Start the runner after the context is initialized.
---
testsuites/smptests/smpmigration01/init.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/testsuites/smptests/smpmigration01/init.c b/testsuites/smptests/smpmigration01/init.c
index ccad57f..1500dba 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);
}
More information about the vc
mailing list