summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/req/ident.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/task/req/ident.yml')
-rw-r--r--spec/rtems/task/req/ident.yml27
1 files changed, 3 insertions, 24 deletions
diff --git a/spec/rtems/task/req/ident.yml b/spec/rtems/task/req/ident.yml
index 17b2b526..ba81544e 100644
--- a/spec/rtems/task/req/ident.yml
+++ b/spec/rtems/task/req/ident.yml
@@ -62,6 +62,7 @@ test-action: |
} else {
${../../req/ident:/test-run}(
ctx->id_local_object,
+ DefaultTaskConfig.name,
ClassicTaskIdentAction
);
}
@@ -86,7 +87,7 @@ test-header: null
test-includes: []
test-local-includes:
- tr-object-ident.h
-- ts-config.h
+- tx-support.h
test-prepare: null
test-setup:
brief: null
@@ -94,7 +95,7 @@ test-setup:
rtems_status_code sc;
sc = rtems_task_construct(
- &ClassicTaskIdentConfig,
+ &DefaultTaskConfig,
&ctx->id_local_object
);
T_assert_rsc_success( sc );
@@ -109,28 +110,6 @@ test-support: |
{
return rtems_task_ident( name, node, id );
}
-
- #define TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES
-
- #define MAX_TLS_SIZE RTEMS_ALIGN_UP( 64, RTEMS_TASK_STORAGE_ALIGNMENT )
-
- RTEMS_ALIGNED( RTEMS_TASK_STORAGE_ALIGNMENT )
- static char ClassicTaskIdentStorage[
- RTEMS_TASK_STORAGE_SIZE(
- MAX_TLS_SIZE + TEST_MINIMUM_STACK_SIZE,
- TASK_ATTRIBUTES
- )
- ];
-
- static const rtems_task_config ClassicTaskIdentConfig = {
- .name = ClassicObjectIdentName,
- .initial_priority = 1,
- .storage_area = ClassicTaskIdentStorage,
- .storage_size = sizeof( ClassicTaskIdentStorage ),
- .maximum_thread_local_storage_size = MAX_TLS_SIZE,
- .initial_modes = RTEMS_DEFAULT_MODES,
- .attributes = TASK_ATTRIBUTES
- };
test-target: testsuites/validation/tc-task-ident.c
test-teardown:
brief: null