summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/ts-fatal-sysinit.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-28 12:22:33 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-10-14 10:48:22 +0200
commit1ab93ba480cabae849c1c0a00e9650ad75d5f912 (patch)
tree20686fb90bc9cb462c2383f5cf6663aad4e0de43 /testsuites/validation/ts-fatal-sysinit.h
parentscore: Simplify casts (diff)
downloadrtems-1ab93ba480cabae849c1c0a00e9650ad75d5f912.tar.bz2
score: INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED
Add the INTERNAL_ERROR_IDLE_THREAD_CREATE_FAILED fatal error in case the creation of an idle thread fails. This may happen due to a failing create extension provided by the application.
Diffstat (limited to '')
-rw-r--r--testsuites/validation/ts-fatal-sysinit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/validation/ts-fatal-sysinit.h b/testsuites/validation/ts-fatal-sysinit.h
index 5744bc6fea..09d86d02ea 100644
--- a/testsuites/validation/ts-fatal-sysinit.h
+++ b/testsuites/validation/ts-fatal-sysinit.h
@@ -122,7 +122,14 @@ RTEMS_SYSINIT_ITEM(
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+#ifdef FATAL_SYSINIT_INITIAL_EXTENSION
+#define OPTIONAL_FATAL_SYSINIT_INITIAL_EXTENSION FATAL_SYSINIT_INITIAL_EXTENSION,
+#else
+#define OPTIONAL_FATAL_SYSINIT_INITIAL_EXTENSION
+#endif
+
#define CONFIGURE_INITIAL_EXTENSIONS \
+ OPTIONAL_FATAL_SYSINIT_INITIAL_EXTENSION \
{ .fatal = FatalInitialExtension }, \
{ .fatal = TestSuiteFatalExtension }