blob: a1ef3e565d2b5231aef5ed309e8c48ce6902a55b [file] [log] [blame]
Dave Rodgman3e2c61d2024-01-04 16:20:20 +00001#! /usr/bin/env bash
2#
3# Copyright The Mbed TLS Contributors
4# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5#
6# This swallows the output of the wrapped tool, unless there is an error.
7# This helps reduce excess logging in the CI.
8
9# If you are debugging a build / CI issue, you can get complete unsilenced logs
10# by un-commenting the following line (or setting VERBOSE_LOGS in your environment):
11# VERBOSE_LOGS=1
12
13# don't silence invocations containing these arguments
Dave Rodgman98a79cd2024-02-26 12:37:44 +000014export NO_SILENCE=" --version | test "
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000015
Dave Rodgman98a79cd2024-02-26 12:37:44 +000016export TOOL="make"
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000017
Dave Rodgman98a79cd2024-02-26 12:37:44 +000018exec $(dirname "$0")/quiet "$@"