summaryrefslogtreecommitdiffstats
path: root/spec/rtems/scheduler/val/non-smp.yml
blob: e878ad1c9c82ace61ea1e153fcbaf9d33d113455 (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
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:
  not: RTEMS_SMP
links: []
test-actions:
- action-brief: |
    Check that calling ${../if/get-processor:/name} is a constant expression
    which evaluates to zero.
  action-code: |
    RTEMS_STATIC_ASSERT( rtems_scheduler_get_processor() == 0, GET_PROCESSOR );
  checks: []
  links:
  - role: validation
    uid: ../req/get-processor-non-smp
- action-brief: |
    Check that calling ${../if/get-processor-maximum:/name} is a constant
    expression which evaluates to zero.
  action-code: |
    RTEMS_STATIC_ASSERT(
      rtems_scheduler_get_processor_maximum() == 1,
      GET_PROCESSOR_MAXIMUM
    );
  checks: []
  links:
  - role: validation
    uid: ../req/get-processor-maximum-non-smp
test-brief: |
  This test case collection provides validation test cases for non-SMP
  requirements of the ${../if/group:/name}.
test-context: []
test-context-support: null
test-description: null
test-header: null
test-includes:
- rtems.h
test-local-includes: []
test-setup: null
test-stop: null
test-support: null
test-target: testsuites/validation/tc-scheduler-non-smp.c
test-teardown: null
type: test-case