diff options
author | laurenw-arm <lauren.wehrmeister@arm.com> | 2019-07-31 15:33:07 -0500 |
---|---|---|
committer | laurenw-arm <lauren.wehrmeister@arm.com> | 2019-08-08 10:15:51 -0500 |
commit | 89391603d63fd409c18e00e45c864dc9749f2f25 (patch) | |
tree | f8c42818b8d0345db9f19d438597078e37e7e8bd | |
parent | 6927d85a0429bd247cb76b7cb4201e330fc745a1 (diff) | |
download | tf-a-tests-89391603d63fd409c18e00e45c864dc9749f2f25.tar.gz |
Create new xml to split Juno reboot tests
Creating a new xml to separate Juno TFTF reboot tests by those that are expected to pass and
those that aren't (2 RESET2 tests).
Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
Change-Id: I101de828aeedd33e0601597b70e00056b884ceba
-rw-r--r-- | tftf/tests/tests-reboot.xml | 2 | ||||
-rw-r--r-- | tftf/tests/tests-reboot_reset2.mk | 20 | ||||
-rw-r--r-- | tftf/tests/tests-reboot_reset2.xml | 17 |
3 files changed, 37 insertions, 2 deletions
diff --git a/tftf/tests/tests-reboot.xml b/tftf/tests/tests-reboot.xml index 2b06cb3e1..fa4da1373 100644 --- a/tftf/tests/tests-reboot.xml +++ b/tftf/tests/tests-reboot.xml @@ -18,9 +18,7 @@ </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> diff --git a/tftf/tests/tests-reboot_reset2.mk b/tftf/tests/tests-reboot_reset2.mk new file mode 100644 index 000000000..b0f573841 --- /dev/null +++ b/tftf/tests/tests-reboot_reset2.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_reset2.xml b/tftf/tests/tests-reboot_reset2.xml new file mode 100644 index 000000000..1735bc334 --- /dev/null +++ b/tftf/tests/tests-reboot_reset2.xml @@ -0,0 +1,17 @@ +<?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 reset2" description="Check the reset2 feature"> + <testcase name="PSCI reset2 - warm reset" function="reset2_warm" /> + <testcase name="PSCI reset2 - warm reset and mem_protect" function="reset2_mem_protect" /> + </testsuite> + +</testsuites> |