Bug #7581

DTrace test should be executed against RUNRUBY

Added by Vit Ondruch over 2 years ago. Updated over 2 years ago.

[ruby-core:50943]
Status:Closed
Priority:Normal
Assignee:Aaron Patterson
ruby -v:ruby 2.0.0dev (2012-12-17 trunk 38422) [x86_64-linux] Backport:

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

Associated revisions

Revision 38424
Added by Yui NARUSE over 2 years ago

Use EnvUtil.rubybin instead of Gem.ruby

[Bug #7581]

Revision 38424
Added by Yui NARUSE over 2 years ago

Use EnvUtil.rubybin instead of Gem.ruby

[Bug #7581]

History

#1 Updated by Yui NARUSE over 2 years ago

  • 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

[Bug #7581]

#2 Updated by Vit Ondruch over 2 years ago

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.

#3 Updated by Yui NARUSE over 2 years ago

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.

Also available in: Atom PDF