Beauty source code

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-12-10 20:29:02 +08:00
parent d0fcf7f6a0
commit 2e8b00172b
2 changed files with 4 additions and 6 deletions

View file

@ -207,8 +207,7 @@ skip_next_test() {
# skip next test if the flag is not enabled in mbedtls_config.h
requires_config_enabled() {
case $CONFIGS_ENABLED in
*" $1 "*) :;;
*" $1="*) :;;
*" $1"[\ =]*) :;;
*) SKIP_NEXT="YES";;
esac
}
@ -216,8 +215,7 @@ requires_config_enabled() {
# skip next test if the flag is enabled in mbedtls_config.h
requires_config_disabled() {
case $CONFIGS_ENABLED in
*" $1 "*) SKIP_NEXT="YES";;
*" $1="*) SKIP_NEXT="YES";;
*" $1"[\ =]*) SKIP_NEXT="YES";;
esac
}