1#! /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
12# export VERBOSE_LOGS=1
13
14# don't silence invocations containing these arguments
15NO_SILENCE=" --version "
16
17TOOL="cmake"
18
19. "$(dirname "$0")/quiet.sh"
20