summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstkalloc02
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-27 14:16:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-28 08:03:48 +0100
commitb519e509a953c25894700531c321f7213fa11e70 (patch)
tree712369b8915c7d8a0b1a8482f942b31155357afb /testsuites/sptests/spstkalloc02
parentcpukit: Prevent error with disabled stack checker (diff)
downloadrtems-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/spstkalloc02')
-rw-r--r--testsuites/sptests/spstkalloc02/init.c7
-rw-r--r--testsuites/sptests/spstkalloc02/spstkalloc02.doc2
2 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/sptests/spstkalloc02/init.c b/testsuites/sptests/spstkalloc02/init.c
index a2805d1164..6115b06413 100644
--- a/testsuites/sptests/spstkalloc02/init.c
+++ b/testsuites/sptests/spstkalloc02/init.c
@@ -117,9 +117,14 @@ static rtems_task Init(rtems_task_argument argument)
rtems_test_exit(0);
}
-#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_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 TASK_COUNT
#define CONFIGURE_TASK_STACK_ALLOCATOR_INIT task_stack_init
diff --git a/testsuites/sptests/spstkalloc02/spstkalloc02.doc b/testsuites/sptests/spstkalloc02/spstkalloc02.doc
index a5e4e275b7..54d45eb063 100644
--- a/testsuites/sptests/spstkalloc02/spstkalloc02.doc
+++ b/testsuites/sptests/spstkalloc02/spstkalloc02.doc
@@ -9,6 +9,8 @@ This file describes the directives and concepts tested by this test set.
test set name: spstkalloc01
+The test expects that no thread-local object is present.
+
directives:
concepts: