Merge pull request #1013 from OliverLetterer/run-tests-in-release

Now running all tests in Release configuration instead of Debug configuration.
This commit is contained in:
Mattt Thompson 2013-05-22 08:43:04 -07:00
commit 8bd755bf3e

View file

@ -1,12 +1,12 @@
namespace :test do
desc "Run the AFNetworking Tests for iOS"
task :ios do
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator")
$ios_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'iOS Tests' test -test-sdk iphonesimulator -configuration Release")
end
desc "Run the AFNetworking Tests for Mac OS X"
task :osx do
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx")
$osx_success = system("xctool -workspace AFNetworking.xcworkspace -scheme 'OS X Tests' test -test-sdk macosx -sdk macosx -configuration Release")
end
end