From 190161dcc8ef740f5256ad80a76d765a8f8aea28 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 13 Nov 2021 22:19:05 +0100 Subject: testsuites/validation/tc-acfg.c --- testsuites/validation/tc-acfg.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/testsuites/validation/tc-acfg.c b/testsuites/validation/tc-acfg.c index fb8723a24c..beca77b909 100644 --- a/testsuites/validation/tc-acfg.c +++ b/testsuites/validation/tc-acfg.c @@ -109,6 +109,14 @@ * * - Check the configured CONFIGURE_TASK_STACK_DEALLOCATOR hook. * + * - Check the configured CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE hook. + * + * - Check the configured CONFIGURE_IDLE_TASK_STACK_SIZE value. + * + * - Check the configured CONFIGURE_IDLE_TASK_BODY. + * + * - Check the configured CONFIGURE_INTERRUPT_STACK_SIZE value. + * * - Check the configured CONFIGURE_TICKS_PER_TIMESLICE value. * * @{ @@ -255,6 +263,38 @@ static void AcfgValAcfg_Action_0( void ) test_task_stack_deallocate ); + /* + * Check the configured CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE hook. + */ + T_eq_ptr( + rtems_configuration_get_stack_allocate_for_idle_hook(), + test_idle_task_stack_allocate + ); + + /* + * Check the configured CONFIGURE_IDLE_TASK_STACK_SIZE value. + */ + T_eq_sz( + rtems_configuration_get_idle_task_stack_size(), + TEST_IDLE_STACK_SIZE + ); + + /* + * Check the configured CONFIGURE_IDLE_TASK_BODY. + */ + T_eq_ptr( + rtems_configuration_get_idle_task(), + test_idle_task_body + ); + + /* + * Check the configured CONFIGURE_INTERRUPT_STACK_SIZE value. + */ + T_eq_sz( + rtems_configuration_get_interrupt_stack_size(), + TEST_INTERRUPT_STACK_SIZE + ); + /* * Check the configured CONFIGURE_TICKS_PER_TIMESLICE value. */ -- cgit v1.2.3