diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-06 09:07:15 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-06 09:07:15 +0300 |
commit | fd7a221cca9d5ac5338b265fb66b280e205b6330 (patch) | |
tree | fdd5457311b43c2519626340c3ef79732fcebe36 /lib/tasks | |
parent | aeb5a01ed15929b116d1750b7da2433498c305e0 (diff) | |
download | gitlab-ce-fd7a221cca9d5ac5338b265fb66b280e205b6330.tar.gz |
Change gitlab:test task
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/test.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/test.rake b/lib/tasks/gitlab/test.rake index 2c9b9978933..9516210e205 100644 --- a/lib/tasks/gitlab/test.rake +++ b/lib/tasks/gitlab/test.rake @@ -8,9 +8,9 @@ namespace :gitlab do ] cmds.each do |cmd| - system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) + result = system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd) - raise "#{cmd} failed!" unless $?.exitstatus.zero? + raise "#{cmd} failed!" unless result end end end |