Changeset bd1c9248 in rtems


Ignore:
Timestamp:
Feb 26, 2015, 9:19:38 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6357e14a
Parents:
c0e01a28
git-author:
Sebastian Huber <sebastian.huber@…> (02/26/15 09:19:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/26/15 09:20:47)
Message:

sptests/sp76: Check that the right task executes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp76/init.c

    rc0e01a28 rbd1c9248  
    1616const char rtems_test_name[] = "SP 76";
    1717
    18 /* forward declarations to avoid warnings */
    19 rtems_task Init(rtems_task_argument argument);
    20 rtems_task Test_task(rtems_task_argument index);
    21 
    22 rtems_task Test_task(
     18static rtems_task High_task(
    2319  rtems_task_argument index
    2420)
     
    3733}
    3834
    39 rtems_task Init(
     35static rtems_task Equal_task(
     36  rtems_task_argument index
     37)
     38{
     39  rtems_test_assert( 0 );
     40}
     41
     42static rtems_task Init(
    4043  rtems_task_argument argument
    4144)
     
    6669  directive_failed( status, "create 1" );
    6770
    68   status = rtems_task_start( id, Test_task, 1 );
     71  status = rtems_task_start( id, High_task, 1 );
    6972  directive_failed( status, "start 1" );
    7073
     
    8083  directive_failed( status, "create 2" );
    8184
    82   status = rtems_task_start( id, Test_task, 1 );
     85  status = rtems_task_start( id, Equal_task, 1 );
    8386  directive_failed( status, "start 2" );
    8487
Note: See TracChangeset for help on using the changeset viewer.