Sha256: fdff1c15835034a62765bfba3ddedbb235171af177b8ed9721004e1afaa1b0a8

Contents?: true

Size: 634 Bytes

Versions: 5

Compression:

Stored size: 634 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'; require 'require_relative'
# require_relative '../../lib/trepanning'
require_relative 'helper'

# begin require 'rubygems' rescue LoadError end
# require 'ruby-debug'; Debugger.start

# Test Debugger.load handles uncaught exceptions in the debugged program.
class TestRaise < Test::Unit::TestCase
  include TestHelper
  def test_basic
    skip "We get a SEGV here on an unpatched 1.9.2" if 
      RUBY_VERSION =~ /1.9/
    common_setup(__FILE__)
    Dir.chdir(@srcdir) do 
      assert_equal(true, 
                   run_debugger(@testname, @prefix + '../example/raise.rb'))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rb8-trepanning-0.1.5 test/integration/test-raise.rb
rb8-trepanning-0.1.4 test/integration/test-raise.rb
rb8-trepanning-0.1.3 test/integration/test-raise.rb
rb8-trepanning-0.1.3-universal-ruby-1.9.2 test/integration/test-raise.rb
rb8-trepanning-0.1.3-universal-ruby-1.8.7 test/integration/test-raise.rb