[rtems-central commit] spec: Fix rtems_rate_monotonic_get_status() test

Sebastian Huber sebh at rtems.org
Wed Sep 15 06:02:35 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    67b229d8c1fbf0dfb913ceda51f917fd207d92a5
Changeset: http://git.rtems.org/rtems-central/commit/?id=67b229d8c1fbf0dfb913ceda51f917fd207d92a5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep  9 15:03:01 2021 +0200

spec: Fix rtems_rate_monotonic_get_status() test

---

 spec/rtems/ratemon/req/get-status.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/spec/rtems/ratemon/req/get-status.yml b/spec/rtems/ratemon/req/get-status.yml
index dd5a4af..1939799 100644
--- a/spec/rtems/ratemon/req/get-status.yml
+++ b/spec/rtems/ratemon/req/get-status.yml
@@ -464,6 +464,7 @@ test-prepare: |
   ctx->consumed.tv_sec  = 0;
   ctx->consumed.tv_nsec = 0;
   ctx->postponed_jobs_count = 0;
+  TimecounterTick();
 test-setup:
   brief: null
   code: |



More information about the vc mailing list