mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Merge pull request #8438 from yuhaoth/pr/disable-stdout-for-config-query-call
Disable stdout in require_*_configs_* functions
This commit is contained in:
commit
8b1a124126
@ -240,28 +240,28 @@ requires_config_disabled() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
requires_all_configs_enabled() {
|
requires_all_configs_enabled() {
|
||||||
if ! $P_QUERY -all $*
|
if ! $P_QUERY -all $* 2>&1 > /dev/null
|
||||||
then
|
then
|
||||||
SKIP_NEXT="YES"
|
SKIP_NEXT="YES"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
requires_all_configs_disabled() {
|
requires_all_configs_disabled() {
|
||||||
if $P_QUERY -any $*
|
if $P_QUERY -any $* 2>&1 > /dev/null
|
||||||
then
|
then
|
||||||
SKIP_NEXT="YES"
|
SKIP_NEXT="YES"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
requires_any_configs_enabled() {
|
requires_any_configs_enabled() {
|
||||||
if ! $P_QUERY -any $*
|
if ! $P_QUERY -any $* 2>&1 > /dev/null
|
||||||
then
|
then
|
||||||
SKIP_NEXT="YES"
|
SKIP_NEXT="YES"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
requires_any_configs_disabled() {
|
requires_any_configs_disabled() {
|
||||||
if $P_QUERY -all $*
|
if $P_QUERY -all $* 2>&1 > /dev/null
|
||||||
then
|
then
|
||||||
SKIP_NEXT="YES"
|
SKIP_NEXT="YES"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user