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>
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