mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
6c2beaffdc
Summary: Fixed the test script to properly setup our third-party deps and tweaked the third-party specs a bit so they work correctly. This currently works for projects using static libraries, but fails when using dynamic libraries (`--use-libraries`) cc mhorowitz alloy Closes https://github.com/facebook/react-native/pull/14100 Differential Revision: D5380728 Pulled By: javache fbshipit-source-id: e78b6bd4466ebf2bf30b7e361eff10ec14b36a55
22 lines
576 B
Bash
Executable File
22 lines
576 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.3.1"
|
|
|
|
# If there's a "test" argument, pass it to the test script.
|
|
. ./scripts/objc-test.sh $1
|