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 | pre_tf_build() { | ||||
9 | # Apply ubsan test patch | ||||
10 | apply_tf_patch "ubsan/ubsan_test.patch" | ||||
11 | } | ||||
12 | |||||
13 | post_tf_archive() { | ||||
14 | model="base-aemv8a" \ | ||||
15 | gen_model_params | ||||
16 | } | ||||
17 | |||||
18 | fetch_tf_resource() { | ||||
19 | # Expect trap message on uart 1 | ||||
20 | uart="1" set_primary="1" file="ubsan-test-trap.exp" track_expect | ||||
21 | } |