Skip to content

Commit

Permalink
Simplify testing scheme setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jwfriese committed Aug 14, 2016
1 parent 97900b6 commit bf3a583
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 58 deletions.
12 changes: 11 additions & 1 deletion Fleet.xcodeproj/xcshareddata/xcschemes/Fleet.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "NO"
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
Expand All @@ -28,6 +28,16 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7BA90AC41CC3B8950040B031"
BuildableName = "FleetTests.xctest"
BlueprintName = "FleetTests"
ReferencedContainer = "container:Fleet.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down
56 changes: 0 additions & 56 deletions Fleet.xcodeproj/xcshareddata/xcschemes/FleetTests.xcscheme

This file was deleted.

2 changes: 1 addition & 1 deletion script/unittests.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
log.Fatal(err)
}

unitTestCommand := exec.Command("xcodebuild", "test", "-workspace", "Fleet.xcworkspace", "-scheme", "FleetTests", "-destination", "platform=iOS Simulator,OS=9.3,name=iPhone 6")
unitTestCommand := exec.Command("xcodebuild", "test", "-workspace", "Fleet.xcworkspace", "-scheme", "Fleet", "-destination", "platform=iOS Simulator,OS=9.3,name=iPhone 6")
unitTestCommand.Stdout = stdOut
unitTestCommand.Stderr = stdErr
unitTestErr := unitTestCommand.Run()
Expand Down

0 comments on commit bf3a583

Please sign in to comment.