summaryrefslogtreecommitdiffstats
path: root/spec/req/rtems/part
diff options
context:
space:
mode:
Diffstat (limited to 'spec/req/rtems/part')
-rw-r--r--spec/req/rtems/part/ident.yml15
-rw-r--r--spec/req/rtems/part/val/ident.yml51
2 files changed, 0 insertions, 66 deletions
diff --git a/spec/req/rtems/part/ident.yml b/spec/req/rtems/part/ident.yml
deleted file mode 100644
index eb78d345..00000000
--- a/spec/req/rtems/part/ident.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-functional-type: function
-links:
-- role: interface-function
- uid: /if/rtems/part/ident
-rationale: null
-references: []
-requirement-type: functional
-text: |
- The ${/if/rtems/part/ident:/name} directive shall identify an Classic API
- partition class object by its name as specified by ${../ident}.
-type: requirement
diff --git a/spec/req/rtems/part/val/ident.yml b/spec/req/rtems/part/val/ident.yml
deleted file mode 100644
index a9919001..00000000
--- a/spec/req/rtems/part/val/ident.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-links:
-- role: validation
- uid: ../ident
-test-actions:
-- action: |
- ${../../ident:/test-run}(
- id_local_object,
- ClassicPartIdentAction
- );
- checks: []
- description: |
- Run the generic object identification tests for Classic API partition class
- objects defined by ${../../ident}.
- links: []
-test-brief: Test the ${/if/rtems/part/ident:/name} directive.
-test-description: null
-test-epilogue: null
-test-fixture: null
-test-header: null
-test-includes: []
-test-local-includes:
-- tr-object-ident.h
-test-prologue: |
- static long area[32];
- rtems_status_code sc;
- rtems_id id_local_object;
-
- sc = rtems_partition_create(
- ClassicObjectIdentName,
- area,
- sizeof( area ),
- sizeof( area ),
- RTEMS_DEFAULT_ATTRIBUTES,
- &id_local_object
- );
- T_assert_rsc_success( sc );
-test-support: |
- static rtems_status_code ClassicPartIdentAction(
- rtems_name name,
- uint32_t node,
- rtems_id *id
- )
- {
- return rtems_partition_ident( name, node, id );
- }
-test-target: testsuites/validation/tc-part-ident.c
-type: test-case