mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-01 01:16:36 -04:00
disable stdout in require_*_configs_* functions
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
51328162e6
commit
9dd0cc06e5
@ -234,28 +234,28 @@ requires_config_disabled() {
|
||||
}
|
||||
|
||||
requires_all_configs_enabled() {
|
||||
if ! $P_QUERY -all $*
|
||||
if ! $P_QUERY -all $* 2>&1 > /dev/null
|
||||
then
|
||||
SKIP_NEXT="YES"
|
||||
fi
|
||||
}
|
||||
|
||||
requires_all_configs_disabled() {
|
||||
if $P_QUERY -any $*
|
||||
if $P_QUERY -any $* 2>&1 > /dev/null
|
||||
then
|
||||
SKIP_NEXT="YES"
|
||||
fi
|
||||
}
|
||||
|
||||
requires_any_configs_enabled() {
|
||||
if ! $P_QUERY -any $*
|
||||
if ! $P_QUERY -any $* 2>&1 > /dev/null
|
||||
then
|
||||
SKIP_NEXT="YES"
|
||||
fi
|
||||
}
|
||||
|
||||
requires_any_configs_disabled() {
|
||||
if $P_QUERY -all $*
|
||||
if $P_QUERY -all $* 2>&1 > /dev/null
|
||||
then
|
||||
SKIP_NEXT="YES"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user