diff options
Diffstat (limited to 'ruby/test/Ice/defaultValue/Client.rb')
-rwxr-xr-x | ruby/test/Ice/defaultValue/Client.rb | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/ruby/test/Ice/defaultValue/Client.rb b/ruby/test/Ice/defaultValue/Client.rb index b6c2887b165..ab0ee8e757a 100755 --- a/ruby/test/Ice/defaultValue/Client.rb +++ b/ruby/test/Ice/defaultValue/Client.rb @@ -8,29 +8,12 @@ # # ********************************************************************** -require 'pathname' -require 'Ice' - -Ice::loadSlice('Test.ice') +require "Ice" +Ice::loadSlice("Test.ice") require './AllTests' -def test(b) - if !b - raise RuntimeError, 'test assertion failed' +class Client < ::TestHelper + def run(args) + allTests() end end - -def run(args) - allTests() - return true -end - -begin - status = run(ARGV) -rescue => ex - puts $! - print ex.backtrace.join("\n") - status = false -end - -exit(status ? 0 : 1) |