summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-04-12 08:35:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-04-12 08:36:13 +0200
commit03984a944e3ec8c4b8399d6bfa80bff01a63b32f (patch)
treea763287ab245a5958ab99d7eb33bf1920eb7c219
parentmodules: Update rtems (diff)
downloadrtems-central-03984a944e3ec8c4b8399d6bfa80bff01a63b32f.tar.bz2
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.
-rw-r--r--spec/testsuites/fatal-start-on-not-online-processor.yml2
1 files changed, 2 insertions, 0 deletions
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