feat(rng_trap): modify tests for FEAT_RNG_TRAP
With the introduction of a handler for the trap generated upon an
attempt to read RNDR and RNDRRS registers, the old test will not
work anymore and needs to be changed so it does not longer expect
the system to panic but for EL3 return a valid random number after
handling the trap.
In addition, the test configs are unified as there is no need to
keep them separate since a system panic is not expected anymore.
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I3ea4d09bbae58a906ea0be3b5448f5d3090571e7
diff --git a/tftf/tests/tests-rng_trap.mk b/tftf/tests/tests-rng_trap.mk
new file mode 100644
index 0000000..2457b0c
--- /dev/null
+++ b/tftf/tests/tests-rng_trap.mk
@@ -0,0 +1,9 @@
+#
+# Copyright (c) 2022, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+TESTS_SOURCES += $(addprefix tftf/tests/, \
+ extensions/rng_trap/test_rng_trap.c \
+)