record02: Fix test end

Include _Record_Fatal_dump_base64_zlib() in the test scope.
This commit is contained in:
Sebastian Huber
2024-10-10 08:31:45 +02:00
committed by Chris Johns
parent 3f7fdcc711
commit 3721dea3d0

View File

@@ -179,18 +179,28 @@ static void Init(rtems_task_argument arg)
_Record_Fatal_dump_base64(RTEMS_FATAL_SOURCE_APPLICATION, false, 123); _Record_Fatal_dump_base64(RTEMS_FATAL_SOURCE_APPLICATION, false, 123);
generate_events(); generate_events();
TEST_END();
rtems_test_exit(0);
} }
static void fatal_extension(
rtems_fatal_source source,
bool always_set_to_false,
rtems_fatal_code code
)
{
TEST_END();
}
#define INITIAL_EXTENSION \
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, fatal_extension, NULL }
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION #define CONFIGURE_INITIAL_EXTENSIONS \
INITIAL_EXTENSION, RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_RTEMS_INIT_TASKS_TABLE