[ios] Run SDK tests on CI
Added SDK tests to make test-ios rule. Disabled code coverage.
This commit is contained in:
committed by
Minh Nguyễn
parent
be8f83770d
commit
20b1c19b63
5
Makefile
5
Makefile
@@ -56,6 +56,11 @@ iproj: $(IOS_PROJ_PATH)
|
||||
open $(IOS_WORK_PATH)
|
||||
|
||||
test-ios: ios
|
||||
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
|
||||
|
||||
|
||||
@@ -422,7 +422,7 @@
|
||||
DA1DC94C1CB6C1C2006E619F /* Demo App */,
|
||||
DABCABA91CB80692000A7C39 /* Benchmarking App */,
|
||||
DA8847D31CBAF91600AB86E3 /* SDK */,
|
||||
DA2E88521CC036F400F24E7B /* test */,
|
||||
DA2E88521CC036F400F24E7B /* SDK Tests */,
|
||||
DA1DC9921CB6DF24006E619F /* Frameworks */,
|
||||
DAC07C951CBB2CAD000CB309 /* Configuration */,
|
||||
DA1DC94B1CB6C1C2006E619F /* Products */,
|
||||
@@ -489,7 +489,7 @@
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DA2E88521CC036F400F24E7B /* test */ = {
|
||||
DA2E88521CC036F400F24E7B /* SDK Tests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DA2E885C1CC0382C00F24E7B /* MGLGeometryTests.mm */,
|
||||
@@ -499,6 +499,7 @@
|
||||
DA2E88601CC0382C00F24E7B /* MGLStyleTests.mm */,
|
||||
DA2E88551CC036F400F24E7B /* Info.plist */,
|
||||
);
|
||||
name = "SDK Tests";
|
||||
path = test;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
@@ -1443,6 +1444,7 @@
|
||||
DA2E885B1CC036F400F24E7B /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
DA8847DD1CBAF91600AB86E3 /* Build configuration list for PBXNativeTarget "dynamic" */ = {
|
||||
isa = XCConfigurationList;
|
||||
|
||||
@@ -54,8 +54,7 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
codeCoverageEnabled = "YES">
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
|
||||
@@ -54,8 +54,7 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
codeCoverageEnabled = "YES">
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
|
||||
@@ -40,8 +40,7 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
codeCoverageEnabled = "YES">
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
|
||||
Reference in New Issue
Block a user