1#!/bin/bash
2set -euo pipefail
3
4source "$(dirname "${BASH_SOURCE[0]}")/select-simulator.sh"
5select_simulator "${1:-27}"
6
7echo "Using ${DEVICE}, iOS ${RUNTIME}"
8xcodebuild test \
9 -scheme "Reportage" \
10 -destination "platform=iOS Simulator,name=${DEVICE},OS=${DESTINATION_OS}" \
11 -only-testing:"Reportage Unit Tests" \
12 -parallel-testing-enabled NO \
13 2>&1