summaryrefslogtreecommitdiffstats
path: root/spec/score/smp/val/fatal-boot-processor-not-assigned-to-scheduler.yml
blob: 5a9ca01c5791b94cc39be3678f2bcbfa90eb3e6f (plain) (blame)
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
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: RTEMS_SMP
links: []
test-actions:
- action-brief: |
    The test action is carried out by the application configuration of the test
    suite.
  action-code: |
    /* Nothing to do */
  checks:
  - brief: |
      Check that the expected fatal source is present.
    code: |
      T_step_eq_int( ${.:/step}, ctx->source, RTEMS_FATAL_SOURCE_SMP );
    links:
    - role: validation
      uid: ../req/fatal-boot-processor-not-assigned-to-scheduler
  - brief: |
      Check that the expected fatal code is present.
    code: |
      T_step_eq_ulong(
        ${.:/step},
        ctx->code,
        SMP_FATAL_BOOT_PROCESSOR_NOT_ASSIGNED_TO_SCHEDULER
      );
    links:
    - role: validation
      uid: ../req/fatal-boot-processor-not-assigned-to-scheduler
  links:
  - role: validation
    uid: /acfg/req/scheduler-assign-no-scheduler
test-brief: |
  Tests a fatal error.
test-context: []
test-context-support: null
test-description: null
test-header:
  code: null
  freestanding: true
  includes:
  - rtems.h
  local-includes: []
  run-params:
  - description: |
      is fatal source.
    dir: null
    name: source
    specifier: ${/rtems/userext/if/fatal-source:/name} ${.:name}
  - description: |
      is fatal code.
    dir: null
    name: code
    specifier: ${/rtems/userext/if/fatal-code:/name} ${.:name}
  target: testsuites/validation/tr-fatal-boot-processor-not-assigned-to-scheduler.h
test-includes:
- rtems/score/smpimpl.h
test-local-includes:
- tr-fatal-boot-processor-not-assigned-to-scheduler.h
test-setup: null
test-stop: null
test-support: null
test-target: testsuites/validation/tr-fatal-boot-processor-not-assigned-to-scheduler.c
test-teardown: null
type: test-case