blob: b2323166dfbc5a6454ccb04473854202093fab19 [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):
Dave Rodgman869e3102024-02-29 14:59:40 +000011# export VERBOSE_LOGS=1
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000012
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 Rodgman1f08a322024-02-29 14:00:58 +000018exec "$(dirname "$0")/quiet.sh" "$@"