From f54e963b1b861abcc11505dcffda447fbfb94a02 Mon Sep 17 00:00:00 2001 From: blagoev Date: Thu, 16 Mar 2017 12:15:20 +0100 Subject: [PATCH] make tests Debug arg case insensitive --- scripts/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/test.sh b/scripts/test.sh index 5128da82..4becaf74 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -9,6 +9,10 @@ export NPM_CONFIG_PROGRESS=false TARGET=$1 CONFIGURATION=${2:-Release} +if echo $CONFIGURATION | grep -i "^Debug$" > /dev/null ; then + CONFIGURATION="Debug" +fi + IOS_SIM_DEVICE=${IOS_SIM_DEVICE:-} # use preferentially, otherwise will be set and re-exported ios_sim_default_device_type=${IOS_SIM_DEVICE_TYPE:-iPhone 5s} ios_sim_default_ios_version=${IOS_SIM_OS:-iOS 10.1}