tests: Enable ISR in fatal extensions

Fix code locations left over by commit
3332e54772.

Update #5067.
This commit is contained in:
Sebastian Huber
2024-09-19 04:34:38 +02:00
parent 1f52965f98
commit 1119981e7c
4 changed files with 4 additions and 0 deletions

View File

@@ -727,6 +727,7 @@ static void fatal_extension(
) {
test_context *ctx = &test_instance;
_ISR_Set_level(0);
longjmp(ctx->deadlock_return_context, 1);
}
}

View File

@@ -765,6 +765,7 @@ static void fatal_extension(
) {
test_context *ctx = &test_instance;
_ISR_Set_level(0);
longjmp(ctx->deadlock_return_context, 1);
}
}

View File

@@ -100,6 +100,7 @@ static void FatalRecordAndJump(
fatal_source = source;
fatal_code = code;
_Atomic_Fetch_add_uint( &fatal_counter, 1, ATOMIC_ORDER_RELAXED );
_ISR_Set_level( 0 );
longjmp( fatal_before, 1 );
}

View File

@@ -146,6 +146,7 @@ static void FatalRecordAndJump(
fatal_source = source;
fatal_code = code;
_Atomic_Fetch_add_uint( &fatal_counter, 1, ATOMIC_ORDER_RELAXED );
_ISR_Set_level( 0 );
longjmp( fatal_before, 1 );
}