Project

General

Profile

Actions

Bug #7581

closed

DTrace test should be executed against RUNRUBY

Bug #7581: DTrace test should be executed against RUNRUBY

Added by vo.x (Vit Ondruch) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-12-17 trunk 38422) [x86_64-linux]
Backport:
[ruby-core:50943]

Description

Currently, the DTrace tests are executed using system Ruby [1], which is apparently wrong, since system Ruby might be of different version or may not be available. The tests should be executed against RUNRUBY, which were just build.

[1] https://github.com/ruby/ruby/blob/trunk/test/dtrace/helper.rb#L29

Updated by naruse (Yui NARUSE) almost 13 years ago Actions #1

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38424.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Use EnvUtil.rubybin instead of Gem.ruby

[ruby-core:50943] [Bug #7581]

Updated by vo.x (Vit Ondruch) almost 13 years ago Actions #2 [ruby-core:50945]

Thank you for the fix.

Just wondering, if will it work with dynamically linked ruby as well? I am testing the functionality on Linux with dynamic linking and SystemTap and there I have to specify path to the library. Not sure if DTrace works the same, since I have no Mac nor Solaris available.

Updated by naruse (Yui NARUSE) almost 13 years ago Actions #3 [ruby-core:50955]

vo.x (Vit Ondruch) wrote:

Thank you for the fix.

Just wondering, if will it work with dynamically linked ruby as well? I am testing the functionality on Linux with dynamic linking and SystemTap and there I have to specify path to the library. Not sure if DTrace works the same, since I have no Mac nor Solaris available.

Sorry, I don't know.

Actions

Also available in: PDF Atom