mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +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
18 lines
368 B
Bash
Executable File
18 lines
368 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-tvOS"
|
|
XCODE_SDK="appletvsimulator"
|
|
if [ -z "$XCODE_DESTINATION" ]; then
|
|
XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p,OS=9.2"
|
|
fi
|
|
|
|
. ./scripts/objc-test.sh
|