Last change
on this file since a1c17c5 was
a1c17c5,
checked in by Sebastian Huber <sebastian.huber@…>, on 09/18/20 at 08:12:48
|
spec: Delete resources in validation tests
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause |
---|
2 | copyrights: |
---|
3 | - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) |
---|
4 | enabled-by: true |
---|
5 | links: |
---|
6 | - role: validation |
---|
7 | uid: ../req/ident |
---|
8 | test-actions: |
---|
9 | - action: | |
---|
10 | ${../../req/ident-local:/test-run}( |
---|
11 | id_local_object, |
---|
12 | ClassicBarrierIdentAction |
---|
13 | ); |
---|
14 | checks: [] |
---|
15 | description: | |
---|
16 | Run the generic object identification tests for Classic API partition class |
---|
17 | objects defined by ${../../req/ident-local}. |
---|
18 | links: [] |
---|
19 | test-brief: Test the ${../if/ident:/name} directive. |
---|
20 | test-description: null |
---|
21 | test-epilogue: | |
---|
22 | sc = rtems_barrier_delete( id_local_object ); |
---|
23 | T_rsc_success( sc ); |
---|
24 | test-fixture: null |
---|
25 | test-header: null |
---|
26 | test-includes: [] |
---|
27 | test-local-includes: |
---|
28 | - tr-object-ident-local.h |
---|
29 | test-prologue: | |
---|
30 | rtems_status_code sc; |
---|
31 | rtems_id id_local_object; |
---|
32 | |
---|
33 | sc = rtems_barrier_create( |
---|
34 | ClassicObjectLocalIdentName, |
---|
35 | RTEMS_DEFAULT_ATTRIBUTES, |
---|
36 | 1, |
---|
37 | &id_local_object |
---|
38 | ); |
---|
39 | T_assert_rsc_success( sc ); |
---|
40 | test-support: | |
---|
41 | static rtems_status_code ClassicBarrierIdentAction( |
---|
42 | rtems_name name, |
---|
43 | rtems_id *id |
---|
44 | ) |
---|
45 | { |
---|
46 | return rtems_barrier_ident( name, id ); |
---|
47 | } |
---|
48 | test-target: testsuites/validation/tc-barrier-ident.c |
---|
49 | type: test-case |
---|
Note: See
TracBrowser
for help on using the repository browser.