blob: cadb1537cbef54f70145807ac8d4862ee9a509c6 [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05003# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set -e
Fathi Boudra422bf772019-12-02 11:10:16 +02009# If it's a Juno build-only config, or an FVP config, we do everything locally
10if [ "$RUN_CONFIG" = "nil" ]; then
11 exit 0
12fi
13
14case "$RUN_CONFIG" in
15 fvp-*)
16 exit 0;;
17 coverity-*)
18 exit 0;;
Zelalem917b43e2020-08-04 11:39:55 -050019 scan_build-*)
20 exit 0;;
21 norun-*)
22 exit 0;;
Fathi Boudra422bf772019-12-02 11:10:16 +020023esac
24
25# If we're not going to run Juno, then no need to spawn tf-build-for lava;
26# build it locally.
27if [ "$skip_juno" ]; then
28 exit 0
29fi
30
31exit 1