diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-04-12 08:32:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-04-12 08:37:54 +0200 |
commit | 873e7dab34a247f36ce7c0ec6dbe39751515990b (patch) | |
tree | 92948f6e3bfbf6538ae6ebeea4650f1c7a3ed313 | |
parent | validation: Allow custom idle task body (diff) | |
download | rtems-873e7dab34a247f36ce7c0ec6dbe39751515990b.tar.bz2 |
validation: Avoid double fatal error
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-- | testsuites/validation/ts-fatal-start-on-not-online-processor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/validation/ts-fatal-start-on-not-online-processor.c b/testsuites/validation/ts-fatal-start-on-not-online-processor.c index 9e046bbde1..9cc981e381 100644 --- a/testsuites/validation/ts-fatal-start-on-not-online-processor.c +++ b/testsuites/validation/ts-fatal-start-on-not-online-processor.c @@ -73,6 +73,8 @@ const char rtems_test_name[] = "FatalStartOnNotOnlineProcessor"; #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 |