[rtems-central commit] spec: Fix fatal error test suite

Sebastian Huber sebh at rtems.org
Tue Apr 12 06:32:49 UTC 2022


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr 12 08:35:03 2022 +0200

spec: Fix fatal error test suite

In the SMP_FATAL_MULTITASKING_START_ON_NOT_ONLINE_PROCESSOR test case,
the boot processor ends up in the idle body.  Do not issue a fatal error
here and instead enter the idle loop.  The secondary processor will
terminate the system.

---

 spec/testsuites/fatal-start-on-not-online-processor.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spec/testsuites/fatal-start-on-not-online-processor.yml b/spec/testsuites/fatal-start-on-not-online-processor.yml
index 87e5b5e8..36408094 100644
--- a/spec/testsuites/fatal-start-on-not-online-processor.yml
+++ b/spec/testsuites/fatal-start-on-not-online-processor.yml
@@ -13,6 +13,8 @@ test-code: |
 
   #define FATAL_SYSINIT_RUN ScoreSmpValFatalStartOnNotOnlineProcessor_Run
 
+  #define CONFIGURE_IDLE_TASK_BODY _CPU_Thread_Idle_body
+
   #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
 
   #define CONFIGURE_MAXIMUM_PROCESSORS 2



More information about the vc mailing list