diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-27 14:16:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-28 08:03:48 +0100 |
commit | b519e509a953c25894700531c321f7213fa11e70 (patch) | |
tree | 712369b8915c7d8a0b1a8482f942b31155357afb /testsuites/sptests/sptls03 | |
parent | cpukit: Prevent error with disabled stack checker (diff) | |
download | rtems-b519e509a953c25894700531c321f7213fa11e70.tar.bz2 |
sptests: Avoid a dependency on errno
Avoid a dependency on errno which might be a thread-local object. The tests
sp01, spstkalloc02, and sptls03 assume that no thread-local storage object is
present.
Update #4560.
Diffstat (limited to 'testsuites/sptests/sptls03')
-rw-r--r-- | testsuites/sptests/sptls03/init.c | 7 | ||||
-rw-r--r-- | testsuites/sptests/sptls03/sptls03.doc | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/sptests/sptls03/init.c b/testsuites/sptests/sptls03/init.c index ac46f068eb..d0aa60758d 100644 --- a/testsuites/sptests/sptls03/init.c +++ b/testsuites/sptests/sptls03/init.c @@ -48,7 +48,12 @@ static void Init(rtems_task_argument arg) } #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER + +/* + * Avoid a dependency on errno which might be a thread-local object. This test + * assumes that no thread-local storage object is present. + */ +#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM #define CONFIGURE_MAXIMUM_TASKS 1 diff --git a/testsuites/sptests/sptls03/sptls03.doc b/testsuites/sptests/sptls03/sptls03.doc index 2b92bcd091..a51e9c9175 100644 --- a/testsuites/sptests/sptls03/sptls03.doc +++ b/testsuites/sptests/sptls03/sptls03.doc @@ -2,6 +2,8 @@ This file describes the directives and concepts tested by this test set. test set name: sptls03 +The test expects that no thread-local object is present. + directives: - _Thread_Initialize() |