Commit b96ad52e10151fed49f63b107ce6871c8d25647e

Authored by Dmitriy Zaporozhets
Committed by Marin Jankovski
1 parent fac22578

Change gitlab:test task

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
lib/tasks/gitlab/test.rake
... ... @@ -8,9 +8,9 @@ namespace :gitlab do
8 8 ]
9 9  
10 10 cmds.each do |cmd|
11   - system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
  11 + result = system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
12 12  
13   - raise "#{cmd} failed!" unless $?.exitstatus.zero?
  13 + raise "#{cmd} failed!" unless result
14 14 end
15 15 end
16 16 end
... ...