summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-25 18:03:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-25 18:04:28 +0200
commit75c133bda040eb844d6cb6e1d5fb8a3a91049e34 (patch)
tree77a9b5ccfd64c553ba17330fea054a5fc605ec04
parentscore: Move code block to separate function (diff)
downloadrtems-75c133bda040eb844d6cb6e1d5fb8a3a91049e34.tar.bz2
sptests/sp69: Remove test case
This error condition no longer exists. Update #4528.
-rw-r--r--testsuites/sptests/sp69/init.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/testsuites/sptests/sp69/init.c b/testsuites/sptests/sp69/init.c
index 38c40ccdf8..e78d922481 100644
--- a/testsuites/sptests/sp69/init.c
+++ b/testsuites/sptests/sp69/init.c
@@ -60,31 +60,6 @@ rtems_task Init(
rtems_test_assert( period_status.executed_since_last_period.tv_sec == 0 );
rtems_test_assert( period_status.executed_since_last_period.tv_nsec == 0 );
- /*
- * Check get_status error cases.
- */
- puts( "rtems_rate_monotonic_get_status - check RTEMS_NOT_DEFINED" );
-
- /* Do some work to get a non-zero cpu usage */
- rtems_test_spin_for_ticks( 10 );
-
- status = rtems_rate_monotonic_period( period_id, 100 );
- directive_failed( status, "rate_monotonic_period" );
-
- /* Do some more work */
- rtems_test_spin_for_ticks( 10 );
-
- /* Reset the cpu usage statistics. */
- rtems_cpu_usage_reset();
-
- /* Status should be undefined. */
- status = rtems_rate_monotonic_get_status( period_id, &period_status );
- fatal_directive_status(
- status,
- RTEMS_NOT_DEFINED,
- "rtems_rate_monotonic_get_status after cpu usage reset"
- );
-
/* Clean up. */
status = rtems_rate_monotonic_cancel( period_id );
directive_failed( status, "rate_monotonic_cancel" );