Permalink
Browse files

* test/dtrace/test_*.rb: use require_relative to require local library

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
xibbar
xibbar committed Mar 26, 2013
1 parent 79f7521 commit b0b460925cf990ebd368f19816877657ca38f630
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestArrayCreate < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestCMethod < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestFunctionEntry < TestCase
View
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestGC < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestHashCreate < TestCase
View
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
require 'tempfile'
module DTrace
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestObjectCreateStart < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestRaise < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestRequire < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestSingletonFunctionEntry < TestCase
@@ -1,4 +1,4 @@
-require 'dtrace/helper'
+require_relative 'helper'
module DTrace
class TestStringProbes < TestCase

1 comment on commit b0b4609

@cdwijayarathna

This comment has been minimized.

Show comment Hide comment
@cdwijayarathna

cdwijayarathna Sep 2, 2013

Hello all,
I'm trying to run slightly different version of this test case (https://gist.github.com/cdwijayarathna/6413782), using "sudo ruby test_array_create.rb) in ruby 2.0.0-p247.
I'm getting output

https://gist.github.com/cdwijayarathna/6413841

Why 0 tests 0 assertions here? what I am doing wrong?

Hello all,
I'm trying to run slightly different version of this test case (https://gist.github.com/cdwijayarathna/6413782), using "sudo ruby test_array_create.rb) in ruby 2.0.0-p247.
I'm getting output

https://gist.github.com/cdwijayarathna/6413841

Why 0 tests 0 assertions here? what I am doing wrong?

Please sign in to comment.