diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-28 12:22:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-10-14 10:48:22 +0200 |
commit | 1ab93ba480cabae849c1c0a00e9650ad75d5f912 (patch) | |
tree | 20686fb90bc9cb462c2383f5cf6663aad4e0de43 /testsuites/validation/ts-fatal-sysinit.h | |
parent | score: Simplify casts (diff) | |
download | rtems-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.h | 7 |
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 } |