Sha256: 2e9353f5141d5b18cf762ba6535fea642681cf9f3659a4e917b2d4db2e4e5c31

Contents?: true

Size: 316 Bytes

Versions: 7

Compression:

Stored size: 316 Bytes

Contents

#!/usr/bin/env ruby

require 'test/unit'
require 'os'

# --  Test for bug when it loads with no frames

class EnumerableTest < Test::Unit::TestCase
  def test_being_able_to_run_its_binary
    Dir.chdir(File.dirname(__FILE__)) do
      assert system(OS.ruby_bin + " ruby-prof-bin do_nothing.rb")
    end    
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ruby-prof-danielhoey-0.8.1 test/exec_test.rb
ruby-prof-0.8.2 test/exec_test.rb
ruby-prof-0.8.1-x86-mingw32 test/exec_test.rb
ruby-prof-0.8.1-x86-mswin32 test/exec_test.rb
ruby-prof-0.8.1 test/exec_test.rb
ruby-prof-0.7.10 test/exec_test.rb
ruby-prof-0.7.9 test/exec_test.rb