Zelalem | e9e8148 | 2020-07-10 15:18:46 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2019, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | |
| 9 | pre_tf_build() { |
| 10 | # Apply fault injection patches |
| 11 | apply_tf_patch "fault_inject/injected-fault-in-absence-of-ras.patch" |
| 12 | apply_tf_patch "fault_inject/explicit-events.patch" |
| 13 | } |
| 14 | |
| 15 | post_tf_archive() { |
| 16 | model="base-aemv8a" fault_inject="1" arch_version="8.4" \ |
| 17 | gen_model_params |
| 18 | } |
| 19 | |
| 20 | fetch_tf_resource() { |
| 21 | uart="0" timeout="60" file="timeout_test.exp" track_expect |
| 22 | uart="1" timeout="60" file="crash_test.exp" track_expect |
| 23 | } |