Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor fixes for tracing test and rake target to pass on Windows.

git-svn-id: https://svn.codehaus.org/jruby/trunk/jruby@8963 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
commit 1804fb9539d1d29362bd82fd28ca1405d05d034a 1 parent 1f3ef02
authored February 01, 2009
1  Rakefile
@@ -58,6 +58,7 @@ namespace :test do
58 58
     Rake::TestTask.new('test:tracing') do |t|
59 59
       t.pattern = 'test/tracing/test_*.rb'
60 60
       t.verbose = true
  61
+      t.ruby_opts << '--debug'
61 62
     end
62 63
   end
63 64
 end
4  test/tracing/test_trace_func.rb
@@ -145,11 +145,11 @@ def test_require_trace_full_paths # JRUBY-2722
145 145
     set_trace_func nil
146 146
 
147 147
     line = __LINE__ - 4
148  
-    expected = ["test/tracing/test_trace_func.rb line #{line} test_require_trace_full_paths TestTraceFunc",
  148
+    expected = ["#{__FILE__} line #{line} test_require_trace_full_paths TestTraceFunc",
149 149
       "./test/tracing/dummy1.rb line 1 nil false",
150 150
       "./test/tracing/dummy1.rb class 1 nil false",
151 151
       "./test/tracing/dummy1.rb end 1 nil false",
152  
-      "test/tracing/test_trace_func.rb line #{line + 2} test_require_trace_full_paths TestTraceFunc"]
  152
+      "#{__FILE__} line #{line + 2} test_require_trace_full_paths TestTraceFunc"]
153 153
 
154 154
     assert_equal(expected, output);
155 155
   end

0 notes on commit 1804fb9

Please sign in to comment.
Something went wrong with that request. Please try again.