mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Properly handle test cases terminated by signals in test-bundled-gems
Process::Status#exitstatus turn into nil when child process is signeled. When exit_code was unchanged, test-bundled-gems.rb returned 0 and make was unable to detect the failure. Fix this.
This commit is contained in:
parent
688c1f6c5e
commit
ceea8060e4
Notes:
git
2025-12-24 02:00:23 +00:00
@ -133,7 +133,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
|
||||
puts colorize.decorate(mesg, "skip")
|
||||
else
|
||||
failed << gem
|
||||
exit_code = $?.exitstatus if $?.exitstatus
|
||||
exit_code = 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user