Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.1.5
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
I thought we had this fixed...but it appears full paths are back in trace events:
1) Failure: test_require_trace_full_paths(TestTraceFunc) [/Users/headius/NetBeansProjects/jruby/./test/tracing/test_trace_func.rb:154]: <["test/tracing/test_trace_func.rb line 143 test_require_trace_full_paths TestTraceFunc", "./test/tracing/dummy1.rb line 1 nil false", "./test/tracing/dummy1.rb class 1 nil false", "./test/tracing/dummy1.rb end 1 nil false", "test/tracing/test_trace_func.rb line 145 test_require_trace_full_paths TestTraceFunc"]> expected but was <["/Users/headius/NetBeansProjects/jruby/./test/tracing/test_trace_func.rb line 143 test_require_trace_full_paths TestTraceFunc", "./test/tracing/dummy1.rb line 1 nil false", "./test/tracing/dummy1.rb class 1 nil false", "./test/tracing/dummy1.rb end 1 nil false", "/Users/headius/NetBeansProjects/jruby/./test/tracing/test_trace_func.rb line 145 test_require_trace_full_paths TestTraceFunc"]>.
Run with jruby --debug -S rake test:tracing.
Not sure why this is failing but when I solved this last time I was running it with:
So however rake invokes this is uncovering another issue. Another interesting observation is that MRI does not pass from rake either (though the output is different than ours). If I run the test like above then MRI also passes. So heh...WTF? The output is just different when run in rake and when run from command-line. I guess at a minimum we are still doing something wrong. I will at least make it fail the same way when run from rake if not make it work for both command-line and rake.