[rtems-central commit] spec: Fix rtems_scheduler_get_processor() vali

Sebastian Huber sebh at rtems.org
Fri May 7 09:21:08 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May  7 11:20:24 2021 +0200

spec: Fix rtems_scheduler_get_processor() vali

---

 spec/rtems/scheduler/val/smp-only.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/rtems/scheduler/val/smp-only.yml b/spec/rtems/scheduler/val/smp-only.yml
index e7d50a7..f319e3b 100644
--- a/spec/rtems/scheduler/val/smp-only.yml
+++ b/spec/rtems/scheduler/val/smp-only.yml
@@ -29,10 +29,11 @@ test-actions:
       SetSelfAffinityOne( cpu_index );
 
       T_quiet_eq_u32( rtems_scheduler_get_processor(), cpu_index );
+
+      SetSelfAffinityAll();
     }
 
     SetSelfScheduler( scheduler_id, priority );
-    SetSelfAffinityAll();
   checks: []
   links:
   - role: validation



More information about the vc mailing list