ci: use new panic expect script in trace and BRBE test configs
The newly introduced panic expect script was used in trace and
BRBE extension test configurations to verify the panic occurs
when accessing registers that correspond to these extensions
from lower ELs.
These changes have been made as a effect of this patch [1]/
Also, refactored the code to move duplicated code into the
common header.
[1]: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/18002
Change-Id: I70d2b45397e2011b68f9f5a5040c12c173fa6838
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/run_config/fvp-aemva.ete_trace_ext.bl31_panic b/run_config/fvp-aemva.ete_trace_ext.bl31_panic
index c6c3abf..e2f0eec 100644
--- a/run_config/fvp-aemva.ete_trace_ext.bl31_panic
+++ b/run_config/fvp-aemva.ete_trace_ext.bl31_panic
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
+# Copyright (c) 2021-2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -9,7 +9,7 @@
local model="base-aemva"
uart="0" timeout="60" file="timeout_test.exp" track_expect
- uart="1" timeout="60" file="unhandled_exception_at_el3.exp" \
+ uart="1" timeout="60" file="panic_in_el3.exp" \
set_primary="1" track_expect
model="$model" \