Changeset db20706 in rtems for testsuites/smptests


Ignore:
Timestamp:
Nov 23, 2016, 6:17:00 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
46b5343
Parents:
ec17ad4
git-author:
Sebastian Huber <sebastian.huber@…> (11/23/16 06:17:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/23/16 11:52:05)
Message:

smptests/smpscheduler02: Fix task initialization

Set scheduler before the task start.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpscheduler02/init.c

    rec17ad4 rdb20706  
    349349    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    350350
     351    sc = rtems_task_set_scheduler(task_id, scheduler_b_id, 1);
     352    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
     353
    351354    sc = rtems_task_start(task_id, task, 0);
    352     rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    353 
    354     sc = rtems_task_set_scheduler(task_id, scheduler_b_id, 1);
    355355    rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    356356
Note: See TracChangeset for help on using the changeset viewer.