aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlauwal01 <lauren.wehrmeister@arm.com>2019-07-09 10:58:01 -0500
committerlaurenw-arm <lauren.wehrmeister@arm.com>2019-07-26 12:36:12 -0500
commit513be4966f8a9db2fe3166efdc03843f5010cdfe (patch)
treed775a570f1b96baed834b921b7d411c1a6a499d9
parent7bdfa0b07a52e487a443394aad89bcd37fbc02a8 (diff)
downloadtf-a-tests-513be4966f8a9db2fe3166efdc03843f5010cdfe.tar.gz
Creating separate xml for Reboot tests
Separating the manual tests xml to only include reboot tests so these can be automated. Change-Id: Ib1dfe7f215811e9ecb5b8f439965465187b3fe9b Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
-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>