blob: 4fd7e5b1f60a69e85beac481d26b71dcfc502507 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Zelaleme9e81482020-07-10 15:18:46 -05002#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8pre_tf_build() {
9 # Apply ubsan test patch
10 apply_tf_patch "ubsan/ubsan_test.patch"
11}
12
13post_tf_archive() {
14 model="base-aemv8a" \
15 gen_model_params
16}
17
18fetch_tf_resource() {
19 # Expect trap message on uart 1
20 uart="1" set_primary="1" file="ubsan-test-trap.exp" track_expect
21}