blob: 6af3a57ce48c066b881cc610ca0373e70a77118f [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 Rodgman79aaaa42024-02-29 18:41:36 +000011
Dave Rodgman869e3102024-02-29 14:59:40 +000012# export VERBOSE_LOGS=1
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000013
14# don't silence invocations containing these arguments
Dave Rodgman98a79cd2024-02-26 12:37:44 +000015export NO_SILENCE=" --version | test "
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000016
Dave Rodgman98a79cd2024-02-26 12:37:44 +000017export TOOL="make"
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000018
Dave Rodgmanc02c5b12024-03-05 18:09:35 +000019. "$(dirname "$0")/quiet.sh"