summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-14 14:40:45 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-16 22:46:25 -0700
commit85b01eed5b9e590dd3d4874b64ca6360e351051a (patch)
treeb4f772c777f2c8f145c0bb6738ed22da9f5d6f9a /Makefile
parent20b1c19b638ad487561fc1432419908d965d0027 (diff)
downloadqtlocation-mapboxgl-85b01eed5b9e590dd3d4874b64ca6360e351051a.tar.gz
[ios] Fixed make test-ios
For some reason, the SDK tests are less accurate when run on the command line than when run in Xcode or on OS X. Also fixed unused variable warnings in the tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fd72966962..a9a099c5e4 100644
--- a/Makefile
+++ b/Makefile
@@ -56,13 +56,13 @@ iproj: $(IOS_PROJ_PATH)
open $(IOS_WORK_PATH)
test-ios: ios
+ ios-sim start
+ ios-sim launch build/ios-all/$(BUILDTYPE)-iphonesimulator/ios-test.app --verbose
set -o pipefail && xcodebuild \
ARCHS=i386 ONLY_ACTIVE_ARCH=YES \
-configuration $(BUILDTYPE) -sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \
-workspace $(IOS_WORK_PATH) -scheme CI test | xcpretty
- ios-sim start
- ios-sim launch build/ios-all/$(BUILDTYPE)-iphonesimulator/ios-test.app --verbose
ipackage: $(IOS_PROJ_PATH)
BITCODE=$(BITCODE) FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) \