Changeset 71ac0a6 in rtems


Ignore:
Timestamp:
Feb 14, 2017, 9:05:24 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
468e9a4
Parents:
ad25f10
Message:

spqreslib: Remove invalid test cases

File:
1 edited

Legend:

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

    rad25f10 r71ac0a6  
    3737  qres_sid_t server_id, server_id2;
    3838  time_t approved_budget, exec_time, abs_time, current_budget;
    39   qres_params_t params, params1, params2, params3, params4;
     39  qres_params_t params, params1, params3;
    4040
    4141  Priority = 30;
     
    4747  params.Q = 1;
    4848
    49   params1 = params2 = params3 = params4 = params;
     49  params1 = params3 = params;
    5050  params1.Q = -1;
    51   params2.Q = SCHEDULER_EDF_PRIO_MSB + 1;
    5251  params3.P = -1;
    53   params4.P = SCHEDULER_EDF_PRIO_MSB + 1;
    5452
    5553  TEST_BEGIN();
     
    8381       QOS_E_INVALID_PARAM )
    8482    printf( "ERROR: CREATE SERVER PASSED UNEXPECTEDLY\n" );
    85   if ( qres_create_server( &params2, &server_id ) !=
    86        QOS_E_INVALID_PARAM )
    87     printf( "ERROR: CREATE SERVER PASSED UNEXPECTEDLY\n" );
    8883  if ( qres_create_server( &params3, &server_id ) !=
    89        QOS_E_INVALID_PARAM )
    90     printf( "ERROR: CREATE SERVER PASSED UNEXPECTEDLY\n" );
    91   if ( qres_create_server( &params4, &server_id ) !=
    9284       QOS_E_INVALID_PARAM )
    9385    printf( "ERROR: CREATE SERVER PASSED UNEXPECTEDLY\n" );
     
    165157       QOS_E_INVALID_PARAM )
    166158    printf( "ERROR: SET PARAMS PASSED UNEXPECTEDLY\n" );
    167   if ( qres_set_params( server_id, &params2 ) !=
    168        QOS_E_INVALID_PARAM )
    169     printf( "ERROR: SET PARAMS PASSED UNEXPECTEDLY\n" );
    170159  if ( qres_set_params( server_id, &params3 ) !=
    171        QOS_E_INVALID_PARAM )
    172     printf( "ERROR: SET PARAMS PASSED UNEXPECTEDLY\n" );
    173   if ( qres_set_params( server_id, &params4 ) !=
    174160       QOS_E_INVALID_PARAM )
    175161    printf( "ERROR: SET PARAMS PASSED UNEXPECTEDLY\n" );
Note: See TracChangeset for help on using the changeset viewer.