summaryrefslogblamecommitdiffstats
path: root/spec/rtems/userext/val/ident.yml
blob: e25374ed6357d48aae335ecb577ac8b6a6da575c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     




                                                                         
                   
             
           
                                       





                                                                              
                                                      
           
                                                    





                      
                         
                









                                            
               






                                                     
                                                     
               
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: ../req/ident
test-actions:
- action: |
    ${../../req/ident-local:/test-run}(
      id_local_object,
      ClassicUserExtIdentAction
    );
  checks: []
  description: |
    Run the generic object identification tests for Classic API user extension
    class objects defined by ${../../req/ident-local}.
  links: []
test-brief: Test the ${../if/ident:/name} directive.
test-description: null
test-epilogue: null
test-fixture: null
test-header: null
test-includes: []
test-local-includes:
- tr-object-ident-local.h
test-prologue: |
  static const rtems_extensions_table table;
  rtems_status_code sc;
  rtems_id id_local_object;

  sc = rtems_extension_create(
    ClassicObjectLocalIdentName,
    &table,
    &id_local_object
  );
  T_assert_rsc_success( sc );
test-support: |
  static rtems_status_code ClassicUserExtIdentAction(
    rtems_name name,
    rtems_id  *id
  )
  {
    return rtems_extension_ident( name, id );
  }
test-target: testsuites/validation/tc-userext-ident.c
type: test-case