summaryrefslogtreecommitdiff
path: root/spec/spec/build-ada-test-program.yml
blob: ac8d1b7208d75ee5dad9bb8490502277731eaa72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
links:
- role: spec-member
  uid: root
- role: spec-refinement
  spec-key: build-type
  spec-value: ada-test-program
  uid: build
spec-description: null
spec-example: |
  SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
  ada-main: testsuites/ada/samples/hello/hello.adb
  ada-object-directory: testsuites/ada/samples/hello
  adaflags: []
  adaincludes:
  - cpukit/include/adainclude
  - testsuites/ada/support
  build-type: ada-test-program
  cflags: []
  copyrights:
  - Copyright (C) 2020 embedded brains GmbH & Co. KG
  cppflags: []
  cxxflags: []
  enabled-by: true
  includes: []
  ldflags: []
  links: []
  source:
  - testsuites/ada/samples/hello/init.c
  stlib: []
  target: testsuites/ada/ada_hello.exe
  type: build
  use-after: []
  use-before: []
spec-info:
  dict:
    attributes:
      ada-main:
        description: |
          It shall be the path to the Ada main body file.
        spec-type: str
      ada-object-directory:
        description: |
          It shall be the path to the Ada object directory (``-D`` option value for ``gnatmake``).
        spec-type: str
      adaflags:
        description: |
          It shall be a list of options for the Ada compiler.
        spec-type: list-str
      adaincludes:
        description: |
          It shall be a list of Ada include paths.
        spec-type: list-str
      cflags:
        description: null
        spec-type: build-cflags
      cppflags:
        description: null
        spec-type: build-cppflags
      cxxflags:
        description: null
        spec-type: build-cxxflags
      includes:
        description: null
        spec-type: build-includes
      ldflags:
        description: null
        spec-type: build-ldflags
      source:
        description: null
        spec-type: build-source-list
      stlib:
        description: null
        spec-type: build-stlib-list
      target:
        description: null
        spec-type: build-target
      use-after:
        description: null
        spec-type: build-use-after-list
      use-before:
        description: null
        spec-type: build-use-before-list
    description: |
      This set of attributes specifies an Ada test program executable to build.
      Test programs may use additional objects provided by
      ${build-objects:/spec-name} items.  Test programs have an implicit
      ``enabled-by`` attribute value which is controlled by the option action
      :ref:`set-test-state <SpecTypeBuildOptionItemType>`.  If the test state
      is set to ``exclude``, then the test program is not built.
    mandatory-attributes: all
spec-name: Build Ada Test Program Item Type
spec-type: build-ada-test-program
type: spec