source: rtems-central/spec/rtems/sem/val/ident.yml @ 3bdf817

Last change on this file since 3bdf817 was 3bdf817, checked in by Sebastian Huber <sebastian.huber@…>, on 09/16/20 at 09:48:29

spec: Group items by component

  • Property mode set to 100644
File size: 1.1 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2copyrights:
3- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
4enabled-by: true
5links:
6- role: validation
7  uid: ../req/ident
8test-actions:
9- action: |
10    ${../../req/ident:/test-run}(
11      id_local_object,
12      ClassicSemIdentAction
13    );
14  checks: []
15  description: |
16    Run the generic object identification tests for Classic API semaphore class
17    objects defined by ${../../req/ident}.
18  links: []
19test-brief: Test the ${../if/ident:/name} directive.
20test-description: null
21test-epilogue: null
22test-fixture: null
23test-header: null
24test-includes: []
25test-local-includes:
26- tr-object-ident.h
27test-prologue: |
28  rtems_status_code sc;
29  rtems_id id_local_object;
30
31  sc = rtems_semaphore_create(
32    ClassicObjectIdentName,
33    0,
34    RTEMS_DEFAULT_ATTRIBUTES,
35    0,
36    &id_local_object
37  );
38  T_assert_rsc_success( sc );
39test-support: |
40  static rtems_status_code ClassicSemIdentAction(
41    rtems_name name,
42    uint32_t   node,
43    rtems_id  *id
44  )
45  {
46    return rtems_semaphore_ident( name, node, id );
47  }
48test-target: testsuites/validation/tc-sem-ident.c
49type: test-case
Note: See TracBrowser for help on using the repository browser.