summaryrefslogtreecommitdiff
path: root/tests/tests-arm-state-switch.xml
blob: a681abe3353399916e0181ed8e2e827d3bb81a4b (plain)
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
<?xml version="1.0" encoding="utf-8"?>

<!--
  Copyright (c) 2018, ARM Limited. All rights reserved.

  This program and the accompanying materials
  are licensed and made available under the terms and conditions of the BSD License
  which accompanies this distribution.  The full text of the license may be found at
  http://opensource.org/licenses/bsd-license.php

  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-->

<testsuites>
  <!--
      Test suite exercising execution state switch SiP service.

      'test_exec_state_switch_reset_before' must execute first in the suite, and
      'test_exec_state_switch_after_cpu_on' the last. See comments in
      test_exec_state_switch.c for details.
  -->
  <testsuite name="State switch" description="Test ARM SiP State Switch service">
    <testcase name="System reset before state switch" function="test_exec_state_switch_reset_before" />
    <testcase name="Request state switch with invalid PC" function="test_exec_state_switch_invalid_pc" />
    <testcase name="Request state switch with invalid context" function="test_exec_state_switch_invalid_ctx" />
    <testcase name="Request a valid state switch" function="test_exec_state_switch_valid" />
    <testcase name="Request a valid state switch after CPU_ON" function="test_exec_state_switch_after_cpu_on" />
  </testsuite>

</testsuites>