2019-10-15 01:47:58 +03:00
|
|
|
#!/bin/sh
|
|
|
|
cd ${0%/*}
|
|
|
|
SKU=${1:-release}
|
|
|
|
SIMULATOR=${2:-iPhone 8}
|
|
|
|
|
|
|
|
set -e
|
2019-10-15 02:10:21 +03:00
|
|
|
./build-ios.sh ${SKU}
|
2019-10-15 01:47:58 +03:00
|
|
|
|
|
|
|
cd tests/unittests
|
|
|
|
xcodebuild test -scheme iOSUnitTests -destination "platform=iOS Simulator,name=$SIMULATOR"
|
2019-10-24 20:34:42 +03:00
|
|
|
|
|
|
|
cd ../functests
|
|
|
|
xcodebuild test -scheme iOSFuncTests -destination "platform=iOS Simulator,name=$SIMULATOR"
|