mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
smpmulticast01: Ignore SMP_FATAL_SHUTDOWN_RESPONSE
This fatal code is a part of the normal SMP termination procedure.
This commit is contained in:
committed by
Amar Takhar
parent
2728023b24
commit
a8ce68f002
@@ -563,6 +563,7 @@ static void fatal_extension(
|
||||
bool ok;
|
||||
|
||||
if (source == RTEMS_FATAL_SOURCE_SMP) {
|
||||
if (code != SMP_FATAL_SHUTDOWN_RESPONSE) {
|
||||
T_step_eq_int(1, source, RTEMS_FATAL_SOURCE_SMP);
|
||||
T_step_false(2, always_set_to_false, "unexpected argument value");
|
||||
T_step_eq_int(3, code, SMP_FATAL_WRONG_CPU_STATE_TO_PERFORM_JOBS);
|
||||
@@ -571,6 +572,7 @@ static void fatal_extension(
|
||||
ok = T_run_finalize();
|
||||
rtems_test_assert(ok);
|
||||
TEST_END();
|
||||
}
|
||||
} else if (source == RTEMS_FATAL_SOURCE_APPLICATION) {
|
||||
ok = T_run_finalize();
|
||||
rtems_test_assert(ok);
|
||||
|
||||
Reference in New Issue
Block a user