aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2019-07-31 14:28:11 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-07-31 14:28:11 +0000
commit6927d85a0429bd247cb76b7cb4201e330fc745a1 (patch)
tree1b15e54ea94905d8b3095a4137e514ddeba5911e
parentc78987eee6cc5b9f0c02da288c3a4331429a6014 (diff)
parent513be4966f8a9db2fe3166efdc03843f5010cdfe (diff)
downloadtf-a-tests-6927d85a0429bd247cb76b7cb4201e330fc745a1.tar.gz
Merge "Creating separate xml for Reboot tests"
-rw-r--r--tftf/tests/tests-reboot.mk20
-rw-r--r--tftf/tests/tests-reboot.xml26
2 files changed, 46 insertions, 0 deletions
diff --git a/tftf/tests/tests-reboot.mk b/tftf/tests/tests-reboot.mk
new file mode 100644
index 0000000..b0f5738
--- /dev/null
+++ b/tftf/tests/tests-reboot.mk
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2019, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+TESTS_SOURCES += \
+ $(addprefix tftf/tests/runtime_services/standard_service/psci/api_tests/, \
+ mem_protect/test_mem_protect.c \
+ psci_stat/test_psci_stat.c \
+ reset2/reset2.c \
+ )
+
+ifeq (${USE_NVM},0)
+$(error Reboot tests require USE_NVM=1 to persist test results across reboots)
+endif
+
+ifeq (${NEW_TEST_SESSION},1)
+$(error Reboot tests require NEW_TEST_SESSION=0 to persist test results across reboots)
+endif
diff --git a/tftf/tests/tests-reboot.xml b/tftf/tests/tests-reboot.xml
new file mode 100644
index 0000000..2b06cb3
--- /dev/null
+++ b/tftf/tests/tests-reboot.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright (c) 2019, 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 reset" function="test_psci_stats_after_reset" />
+ </testsuite>
+
+ <testsuite name="PSCI mem_protect" description="Check the mem_protect feature">
+ <testcase name="PSCI mem_protect" function="test_mem_protect" />
+ </testsuite>
+
+ <testsuite name="PSCI reset2" description="Check the reset2 feature">
+ <testcase name="PSCI reset2 - warm reset" function="reset2_warm" />
+ <testcase name="PSCI reset2 - invalid reset options" function="reset2_test_invalid" />
+ <testcase name="PSCI reset2 - warm reset and mem_protect" function="reset2_mem_protect" />
+ </testsuite>
+
+</testsuites>