Permalink
Browse files

Simplify test execution by leveraging `buildImplicitDependencies=YES`…

… (requires xctool >= 0.1.6)
  • Loading branch information...
1 parent 2aae7ad commit 681d68bf65474a16974b4b3b4366d4acc6e5ef63 Blake Watters committed Jul 14, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 Rakefile
  2. +1 −1 Tests/Schemes/RestKitFrameworkTests.xcscheme
  3. +1 −1 Tests/Schemes/RestKitTests.xcscheme
View
4 Rakefile
@@ -17,12 +17,12 @@ namespace :test do
desc "Run the unit tests for iOS"
task :ios => :prepare do
- $ios_success = system("xctool -workspace RestKit.xcworkspace -scheme RestKitTests -sdk iphonesimulator build build-tests run-tests -test-sdk iphonesimulator")
+ $ios_success = system("xctool -workspace RestKit.xcworkspace -scheme RestKitTests -sdk iphonesimulator test -test-sdk iphonesimulator")
end
desc "Run the unit tests for OS X"
task :osx => :prepare do
- $osx_success = system("xctool -workspace RestKit.xcworkspace -scheme RestKitFrameworkTests -sdk macosx build build-tests run-tests -test-sdk macosx")
+ $osx_success = system("xctool -workspace RestKit.xcworkspace -scheme RestKitFrameworkTests -sdk macosx test -test-sdk macosx")
end
end
View
2 Tests/Schemes/RestKitFrameworkTests.xcscheme
@@ -4,7 +4,7 @@
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
- buildImplicitDependencies = "NO">
+ buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
View
2 Tests/Schemes/RestKitTests.xcscheme
@@ -4,7 +4,7 @@
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
- buildImplicitDependencies = "NO">
+ buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"

0 comments on commit 681d68b

Please sign in to comment.