summaryrefslogtreecommitdiff
path: root/tests/tests-common.xml
diff options
context:
space:
mode:
authorYatharth Kochar <yatharth.kochar@arm.com>2016-05-06 16:41:42 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2016-07-28 14:28:26 +0100
commitaeee5c30cd5e5b8147dd211df3b02ef57e59524f (patch)
tree1e6171b0ea0dd48d59a88889377a10657f0442dd /tests/tests-common.xml
parent8397a7a0842517d882557b04e0dcd2f682342cd2 (diff)
Add PSCI STAT test cases
This patch adds basic test cases for PSCI STATs functionality as described in the PSCI Specification. Both manual and automated tests for STATs are added in the `test_psci_state.c` file. The basic flow in all test cases is as following: -- Get the current PSCI STATs for all the power states -- Call PSCI (SUSPEND, OFF, RESET, SHUTDOWN) with the appropriate power state. -- Get new PSCI STATs and validate the STATs against the previously cached STATs Change-Id: I141134ac85674aa29a18e4b848e2ad81264af0ef
Diffstat (limited to 'tests/tests-common.xml')
-rw-r--r--tests/tests-common.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests-common.xml b/tests/tests-common.xml
index 83de781..3096f2e 100644
--- a/tests/tests-common.xml
+++ b/tests/tests-common.xml
@@ -100,6 +100,12 @@
<testcase name="Create a power state with valid and invalid local state ID at different levels and validate power state parsing" function="test_psci_mixed_state_id" />
</testsuite>
+ <testsuite name="PSCI STAT" description="Test PSCI STAT support Core level">
+ <testcase name="for valid composite state CPU suspend" function="test_psci_stat_all_power_states" />
+ <testcase name="Stats test cases for CPU OFF" function="test_psci_stats_cpu_off" />
+ <testcase name="Stats test cases after system suspend" function="test_psci_stats_system_suspend" />
+ </testsuite>
+
<testsuite name="PSCI Features" description="Check the PSCI features implemented">
<testcase name="PSCI Features" function="test_psci_features" />
<testcase name="PSCI Invalid Features" function="test_psci_features_invalid_id" />