blob: 920e5b875fd16c445ac4d02001518d7e5930971f [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 Rodgman294a3c22024-03-12 13:32:36 +000015NO_SILENCE=" --version | test "
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000016
Dave Rodgman294a3c22024-03-12 13:32:36 +000017TOOL="make"
Dave Rodgman3e2c61d2024-01-04 16:20:20 +000018
Dave Rodgmanc02c5b12024-03-05 18:09:35 +000019. "$(dirname "$0")/quiet.sh"