feat: simplify crash reporting test
Crash reporting test was unnecessarily using RAS to generate SError and
printing lower ELs crash report. This can be easily achieved by simply
causing an SError in lower EL and trap it to EL3.
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Idec626060ed672e7a5036883e7a3529cfd50c769
diff --git a/run_config/fvp-aemv8a.crash b/run_config/fvp-aemv8a.crash
index fa46a57..c822cc2 100644
--- a/run_config/fvp-aemv8a.crash
+++ b/run_config/fvp-aemv8a.crash
@@ -1,22 +1,16 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2019-2022, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
-pre_tf_build() {
- # Apply fault injection patches
- apply_tf_patch "fault_inject/injected-fault-in-absence-of-ras.patch"
- apply_tf_patch "fault_inject/explicit-events.patch"
-}
-
generate_lava_job() {
local model="base-aemv8a"
uart="0" timeout="60" file="timeout_test.exp" track_expect
uart="1" timeout="60" file="crash_test.exp" set_primary="1" track_expect
- model="$model" arch_version="8.4" fault_inject="1" gen_model_params
+ model="$model" gen_model_params
model="$model" gen_fvp_yaml
}