[rtems-central commit] spec: Use TEST_MINIMUM_STACK_SIZE

Sebastian Huber sebh at rtems.org
Mon Sep 6 12:20:30 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    43004fae4951da0af58ebe8de898579942384b45
Changeset: http://git.rtems.org/rtems-central/commit/?id=43004fae4951da0af58ebe8de898579942384b45

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep  6 12:30:22 2021 +0200

spec: Use TEST_MINIMUM_STACK_SIZE

---

 spec/rtems/task/req/construct.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/rtems/task/req/construct.yml b/spec/rtems/task/req/construct.yml
index f3f1be4..9d2f060 100644
--- a/spec/rtems/task/req/construct.yml
+++ b/spec/rtems/task/req/construct.yml
@@ -396,7 +396,7 @@ pre-conditions:
   states:
   - name: Enough
     test-code: |
-      ctx->stack_size = RTEMS_MINIMUM_STACK_SIZE;
+      ctx->stack_size = TEST_MINIMUM_STACK_SIZE;
     text: |
       While the task stack size of the task configuration is greater than or
       equal to the configured minimum size.
@@ -687,7 +687,7 @@ test-support: |
 
   RTEMS_ALIGNED( RTEMS_TASK_STORAGE_ALIGNMENT ) static char task_storage[
     RTEMS_TASK_STORAGE_SIZE(
-      MAX_TLS_SIZE + RTEMS_MINIMUM_STACK_SIZE,
+      MAX_TLS_SIZE + TEST_MINIMUM_STACK_SIZE,
       RTEMS_FLOATING_POINT
     )
   ];



More information about the vc mailing list