[rtems commit] sptests/sp69: Remove test case
Sebastian Huber
sebh at rtems.org
Mon Oct 25 16:01:00 UTC 2021
Module: rtems
Branch: master
Commit: 75c133bda040eb844d6cb6e1d5fb8a3a91049e34
Changeset: http://git.rtems.org/rtems/commit/?id=75c133bda040eb844d6cb6e1d5fb8a3a91049e34
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Oct 25 18:03:42 2021 +0200
sptests/sp69: Remove test case
This error condition no longer exists.
Update #4528.
---
testsuites/sptests/sp69/init.c | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/testsuites/sptests/sp69/init.c b/testsuites/sptests/sp69/init.c
index 38c40cc..e78d922 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" );
More information about the vc
mailing list