mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
4a80dceac7
Reviewed By: yungsters Differential Revision: D4950085 fbshipit-source-id: 44574b5d0ef0d2ad5dfc714309b18dc69cbad9ff
22 lines
575 B
Bash
Executable File
22 lines
575 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
# Script used to run iOS tests.
|
|
# If not arguments are passed to the script, it will only compile
|
|
# the RNTester.
|
|
# If the script is called with a single argument "test", we'll
|
|
# also run the RNTester integration test (needs JS and packager):
|
|
# ./objc-test-ios.sh test
|
|
|
|
SCRIPTS=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
ROOT=$(dirname "$SCRIPTS")
|
|
|
|
cd "$ROOT"
|
|
|
|
SCHEME="RNTester"
|
|
SDK="iphonesimulator"
|
|
DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=10.1"
|
|
|
|
# If there is a "test" argument, pass it to the test script.
|
|
. ./scripts/objc-test.sh $1
|