sptests: Disable Newlib reentrancy

Update #4560.
This commit is contained in:
Matt Joyce
2022-05-30 11:05:11 +02:00
committed by Sebastian Huber
parent ca7c2dd89b
commit 57a569efe1
4 changed files with 22 additions and 1 deletions

View File

@@ -48,6 +48,13 @@ rtems_task Task_1_through_3(
*/
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
/*
* This test requires full control over the present thread-local objects. In
* certain Newlib configurations, the Newlib reentrancy support may add
* thread-local objects.
*/
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

View File

@@ -138,6 +138,13 @@ static rtems_task Init(rtems_task_argument argument)
*/
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
/*
* This test requires full control over the present thread-local objects. This
* is necessary for the custom stack allocator below. In certain Newlib
* configurations, the Newlib reentrancy support may add thread-local objects.
*/
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
#define CONFIGURE_MAXIMUM_TASKS TASK_COUNT
#define CONFIGURE_TASK_STACK_ALLOCATOR_INIT task_stack_init

View File

@@ -26,7 +26,7 @@
This file describes the directives and concepts tested by this test set.
test set name: spstkalloc01
test set name: spstkalloc02
The test expects that no thread-local object is present.

View File

@@ -68,6 +68,13 @@ static void Init(rtems_task_argument arg)
*/
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
/*
* This test requires full control over the present thread-local objects. In
* certain Newlib configurations, the Newlib reentrancy support may add
* thread-local objects.
*/
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION