aboutsummaryrefslogtreecommitdiff
path: root/tftf
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2019-09-30 06:47:17 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-09-30 06:47:17 +0000
commit0012dbc2a841abeff25be8be1113f19073ee4d2c (patch)
tree7ea4030213ff226769f46328b29717651d8b81ea /tftf
parentf19b16dba6d867b71cd68bbc1b2f086b14be978c (diff)
parent2129608e9ab970909c924a934a93a501099ab3bc (diff)
downloadtf-a-tests-0012dbc2a841abeff25be8be1113f19073ee4d2c.tar.gz
Merge "Separate shutdown and stats after shutdown tests"
Diffstat (limited to 'tftf')
-rw-r--r--tftf/tests/tests-manual-shutdown.mk19
-rw-r--r--tftf/tests/tests-manual-shutdown.xml21
2 files changed, 40 insertions, 0 deletions
diff --git a/tftf/tests/tests-manual-shutdown.mk b/tftf/tests/tests-manual-shutdown.mk
new file mode 100644
index 00000000..fed0a602
--- /dev/null
+++ b/tftf/tests/tests-manual-shutdown.mk
@@ -0,0 +1,19 @@
+#
+# Copyright (c) 2018, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+TESTS_SOURCES += \
+ $(addprefix tftf/tests/runtime_services/standard_service/psci/api_tests/, \
+ psci_stat/test_psci_stat.c \
+ system_off/test_system_off.c \
+ )
+
+ifeq (${USE_NVM},0)
+$(error Manual tests require USE_NVM=1 to persist test results across reboots)
+endif
+
+ifeq (${NEW_TEST_SESSION},1)
+$(error Manual tests require NEW_TEST_SESSION=0 to persist test results across reboots)
+endif
diff --git a/tftf/tests/tests-manual-shutdown.xml b/tftf/tests/tests-manual-shutdown.xml
new file mode 100644
index 00000000..912f6467
--- /dev/null
+++ b/tftf/tests/tests-manual-shutdown.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright (c) 2018, Arm Limited. All rights reserved.
+
+ SPDX-License-Identifier: BSD-3-Clause
+-->
+
+<testsuites>
+
+
+ <testsuite name="PSCI STAT" description="Test PSCI STAT support System level">
+ <testcase name="for stats after system shutdown" function="test_psci_stats_after_shutdown" />
+ </testsuite>
+
+ <testsuite name="System off test" description="Validate SYSTEM_OFF PSCI call">
+ <testcase name="System Off" function="test_system_off" />
+ </testsuite>
+
+
+</testsuites>