diff options
-rw-r--r-- | tftf/tests/tests-reboot.mk | 20 | ||||
-rw-r--r-- | tftf/tests/tests-reboot.xml | 26 |
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 000000000..b0f573841 --- /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 000000000..2b06cb3e1 --- /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> |