mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-22 20:41:18 +00:00
restart simulators
This commit is contained in:
parent
bb7e98cbbe
commit
d9398a0bb9
@ -81,10 +81,6 @@ start_packager() {
|
||||
}
|
||||
|
||||
xctest() {
|
||||
# if ! [ -z "${JENKINS_HOME}" ]; then
|
||||
# ${SRCROOT}/scripts/reset-simulators.sh
|
||||
# fi
|
||||
|
||||
local dest="$(xcrun simctl list devices | grep -v unavailable | grep -m 1 -o '[0-9A-F\-]\{36\}')"
|
||||
if [ -n "$XCPRETTY" ]; then
|
||||
mkdir -p build
|
||||
@ -126,6 +122,10 @@ case "$TARGET" in
|
||||
xctest RealmJS
|
||||
;;
|
||||
"react-tests")
|
||||
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||
${SRCROOT}/scripts/reset-simulators.sh
|
||||
fi
|
||||
|
||||
pushd tests/react-test-app
|
||||
|
||||
npm install
|
||||
@ -136,6 +136,10 @@ case "$TARGET" in
|
||||
xctest ReactTestApp || xctest ReactTestApp
|
||||
;;
|
||||
"react-example")
|
||||
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||
${SRCROOT}/scripts/reset-simulators.sh
|
||||
fi
|
||||
|
||||
pushd examples/ReactExample
|
||||
|
||||
npm install
|
||||
|
Loading…
x
Reference in New Issue
Block a user