xref: /third_party/mbedtls/tests/scripts/quiet/make (revision a8e1175b)
1a8e1175bSopenharmony_ci#! /usr/bin/env bash
2a8e1175bSopenharmony_ci#
3a8e1175bSopenharmony_ci# Copyright The Mbed TLS Contributors
4a8e1175bSopenharmony_ci# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5a8e1175bSopenharmony_ci#
6a8e1175bSopenharmony_ci# This swallows the output of the wrapped tool, unless there is an error.
7a8e1175bSopenharmony_ci# This helps reduce excess logging in the CI.
8a8e1175bSopenharmony_ci
9a8e1175bSopenharmony_ci# If you are debugging a build / CI issue, you can get complete unsilenced logs
10a8e1175bSopenharmony_ci# by un-commenting the following line (or setting VERBOSE_LOGS in your environment):
11a8e1175bSopenharmony_ci
12a8e1175bSopenharmony_ci# export VERBOSE_LOGS=1
13a8e1175bSopenharmony_ci
14a8e1175bSopenharmony_ci# don't silence invocations containing these arguments
15a8e1175bSopenharmony_ciNO_SILENCE=" --version | test "
16a8e1175bSopenharmony_ci
17a8e1175bSopenharmony_ciTOOL="make"
18a8e1175bSopenharmony_ci
19a8e1175bSopenharmony_ci. "$(dirname "$0")/quiet.sh"
20