lib/wx/wx-shapes/cmd/test.rb in wxruby3-shapes-0.9.0.pre.beta.3 vs lib/wx/wx-shapes/cmd/test.rb in wxruby3-shapes-0.9.5
- old
+ new
@@ -14,10 +14,10 @@
def self.run(argv)
if argv == :describe
description
else
Dir[File.join(WxShapes::ROOT, 'tests', 'test_*.rb')].each do |test|
- system(RUBY, test)
+ exit(1) unless system(RUBY, test)
end
end
end
end