blob: 7f35add6b3afc3d822a7dd6df52b6edc34571345 (
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
enabled-by: true
links: []
test-actions:
- action-brief: |
Check the effect of application configuration options with optional
BSP-provided settings.
action-code: |
rtems_extensions_table bsp = BSP_INITIAL_EXTENSION;
checks:
- brief: |
Check the default value ${/acfg/if/idle-task-body:/name} where the
optional BSP-provided default value is disabled.
code: |
T_eq_ptr(
rtems_configuration_get_idle_task(),
_CPU_Thread_Idle_body
);
links:
- role: validation
uid: ../if/idle-task-body
- role: validation
uid: ../if/disable-bsp-settings
- brief: |
Check the default value ${/acfg/if/idle-task-stack-size:/name} where the
optional BSP-provided default value is disabled.
code: |
T_eq_sz(
rtems_configuration_get_idle_task_stack_size(),
CPU_STACK_MINIMUM_SIZE
);
links:
- role: validation
uid: ../if/idle-task-stack-size
- role: validation
uid: ../if/disable-bsp-settings
- brief: |
Check the default value ${/acfg/if/interrupt-stack-size:/name} where the
optional BSP-provided default value is disabled.
code: |
T_eq_sz(
rtems_configuration_get_interrupt_stack_size(),
CPU_STACK_MINIMUM_SIZE
);
links:
- role: validation
uid: ../if/interrupt-stack-size
- role: validation
uid: ../if/disable-bsp-settings
- brief: |
Check the BSP-provided initial extension is not registered.
code: |
T_eq_sz( _User_extensions_Initial_count, 1 );
T_ne_ptr(
_User_extensions_Initial_extensions[ 0 ].fatal,
bsp.fatal
);
links:
- role: validation
uid: ../req/bsp-initial-extension
- role: validation
uid: ../if/disable-bsp-settings
links: []
test-brief: |
Tests the default values of application configuration options where all
optional BSP provided settings are disabled.
test-context: []
test-context-support: null
test-description: null
test-header: null
test-includes:
- bsp.h
- rtems/score/userextdata.h
test-local-includes: []
test-setup: null
test-stop: null
test-support: null
test-target: testsuites/validation/tc-acfg-disabled-bsp-settings.c
test-teardown: null
type: test-case
|