[rtems-central commit] spec: Fix sporadic test failures
Sebastian Huber
sebh at rtems.org
Sat Oct 9 11:30:51 UTC 2021
Module: rtems-central
Branch: master
Commit: 5cc13c7cc9897c68e1860d69bb22549709fdc3e1
Changeset: http://git.rtems.org/rtems-central/commit/?id=5cc13c7cc9897c68e1860d69bb22549709fdc3e1
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Oct 9 12:00:43 2021 +0200
spec: Fix sporadic test failures
---
spec/rtems/cpuuse/val/cpuuse.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/spec/rtems/cpuuse/val/cpuuse.yml b/spec/rtems/cpuuse/val/cpuuse.yml
index 82198ae..5b53898 100644
--- a/spec/rtems/cpuuse/val/cpuuse.yml
+++ b/spec/rtems/cpuuse/val/cpuuse.yml
@@ -25,6 +25,8 @@ test-actions:
Check that we have a non-zero CPU usage. Reset the CPU usage. Check
that it was cleared to zero.
code: |
+ TimecounterTick();
+
_Thread_Get_CPU_time_used( self, ×tamp );
T_gt_i64( timestamp, 0 );
More information about the vc
mailing list