blob: 71c3fa0cbd8246496da2a2e98f1d8b8c27261843 (
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
|
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 was carried by the system initialization. If we execute
this test case, then the failed start of an optional processor did not
abort the system initialization.
action-code: |
/* Nothing to do */
checks:
- brief: |
Check that the boot processor is online.
code: |
T_step_true(
${.:/step},
_Per_CPU_Is_processor_online( _Per_CPU_Get_by_index( 0 ) )
);
links:
- role: validation
uid: ../req/processor-online
- brief: |
Check that the optional processor which failed to start is not online.
code: |
T_step_false(
${.:/step},
_Per_CPU_Is_processor_online( _Per_CPU_Get_by_index( 1 ) )
);
links:
- role: validation
uid: ../req/start-of-processor-failed-not-online
links:
- role: validation
uid: ../req/start-of-optional-processor-failed-continue
- role: validation
uid: /acfg/req/scheduler-assign-processor-optional
test-brief: |
Tests the state of an optional processor which failed to start.
test-context: []
test-context-support: null
test-description: null
test-header: null
test-includes:
- rtems/score/percpu.h
test-local-includes: []
test-setup: null
test-stop: null
test-support: null
test-target: testsuites/validation/tc-start-of-optional-processor-failed.c
test-teardown: null
type: test-case
|