blob: 526c6156f22f13fbc2f4ad92f77fb22550f6dd55 (
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
- 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
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
|