Skip to content

Commit 47917cf

Browse files
committed
System returns true/false. Use real exit status
1 parent cd73d33 commit 47917cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
desc "Run tests"
22
task :test do
3-
exit_status = system 'xctool -workspace Tests/ECSlidingViewController.xcworkspace -scheme ECSlidingViewController -sdk iphonesimulator test'
4-
exit(exit_status)
3+
system 'xctool -workspace Tests/ECSlidingViewController.xcworkspace -scheme ECSlidingViewController -sdk iphonesimulator test'
4+
exit($?.exitstatus)
55
end
66

77
namespace :travis do

0 commit comments

Comments
 (0)