[rtems-central commit] spec: Adjust test case

Sebastian Huber sebh at rtems.org
Wed Feb 23 08:35:10 UTC 2022


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Feb 21 20:31:08 2022 +0100

spec: Adjust test case

The binary fraction change by just 5us is due to an implementation
change:

commit 870cf9695f688c06743dd7fe8a7113e0cb5e3607
Author: Andriy Gapon <avg at FreeBSD.org>
Date:   Tue Nov 30 15:23:23 2021 +0200

    kern_tc: unify timecounter to bintime delta conversion

---

 spec/score/timecounter/val/install.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/score/timecounter/val/install.yml b/spec/score/timecounter/val/install.yml
index fb8041d..b15d6fd 100644
--- a/spec/score/timecounter/val/install.yml
+++ b/spec/score/timecounter/val/install.yml
@@ -972,7 +972,7 @@ test-actions:
       SetCounter( tc, 408 * tc->base.tc_frequency );
       rtems_clock_get_realtime_bintime( &bt );
       T_eq_i64( bt.sec, 567994011 );
-      T_eq_u64( bt.frac, 120259084288 );
+      T_eq_u64( bt.frac, 92353004044288 );
     links:
     - role: validation
       uid: ../req/ntp-adjustment



More information about the vc mailing list