cpp_client_telemetry/build-tests-ios.sh

14 строки
313 B
Bash
Executable File

#!/bin/sh
cd ${0%/*}
SKU=${1:-release}
SIMULATOR=${2:-iPhone 8}
set -e
./build-ios.sh ${SKU}
cd tests/unittests
xcodebuild test -scheme iOSUnitTests -destination "platform=iOS Simulator,name=$SIMULATOR"
cd ../functests
xcodebuild test -scheme iOSFuncTests -destination "platform=iOS Simulator,name=$SIMULATOR"