Changeset 75c133bd in rtems


Ignore:
Timestamp:
Oct 25, 2021, 4:03:42 PM (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9b088157
Parents:
6c3976e2
git-author:
Sebastian Huber <sebastian.huber@…> (10/25/21 16:03:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/25/21 16:04:28)
Message:

sptests/sp69: Remove test case

This error condition no longer exists.

Update #4528.

File:
1 edited

Legend:

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

    r6c3976e2 r75c133bd  
    6060  rtems_test_assert( period_status.executed_since_last_period.tv_sec == 0 );
    6161  rtems_test_assert( period_status.executed_since_last_period.tv_nsec == 0 );
    62 
    63   /*
    64    * Check get_status error cases.
    65    */
    66   puts( "rtems_rate_monotonic_get_status - check RTEMS_NOT_DEFINED" );
    67 
    68   /* Do some work to get a non-zero cpu usage */
    69   rtems_test_spin_for_ticks( 10 );
    70 
    71   status = rtems_rate_monotonic_period( period_id, 100 );
    72   directive_failed( status, "rate_monotonic_period" );
    73 
    74   /* Do some more work */
    75   rtems_test_spin_for_ticks( 10 );
    76 
    77   /* Reset the cpu usage statistics. */
    78   rtems_cpu_usage_reset();
    79 
    80   /* Status should be undefined. */
    81   status = rtems_rate_monotonic_get_status( period_id, &period_status );
    82   fatal_directive_status(
    83     status,
    84     RTEMS_NOT_DEFINED,
    85     "rtems_rate_monotonic_get_status after cpu usage reset"
    86   );
    8762
    8863  /* Clean up. */
Note: See TracChangeset for help on using the changeset viewer.