mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
64a4c6070d
Summary: - Consolidate common code in iOS and tvOS test scripts - Start the packager before starting tests, to improve reliability - Increase timeout value in RCTTestRunner.m Closes https://github.com/facebook/react-native/pull/10378 Differential Revision: D4028364 Pulled By: bestander fbshipit-source-id: 24c2124a1c62643a02f0668b60a67b971e08d1a3
17 lines
356 B
Bash
Executable File
17 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
SCRIPTS=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
ROOT=$(dirname $SCRIPTS)
|
|
|
|
cd $ROOT
|
|
|
|
XCODE_PROJECT="Examples/UIExplorer/UIExplorer.xcodeproj"
|
|
XCODE_SCHEME="UIExplorer"
|
|
XCODE_SDK="iphonesimulator"
|
|
if [ -z "$XCODE_DESTINATION" ]; then
|
|
XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=10.0"
|
|
fi
|
|
|
|
. ./scripts/objc-test.sh
|