Bug #4174

1F1E on rdoc tests

Added by Kouhei Yanagita over 3 years ago. Updated almost 3 years ago.

[ruby-core:33779]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:-
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2010-12-20 trunk 30253) [i686-linux] Backport:

Description

=begin
During `make test-all', rdoc tests fails as follows:

1) Failure:
testinlinesourceisenabledbydefault(Rake::TestRDocTask) [/home/yanagi/ruby/test/rake/testrdoctask.rb:65]:
Failed assertion, no message given.

2) Error:
testinlinesourceoptioncanbedisabled(Rake::TestRDocTask):
NoMethodError: undefined method inline_source=' for #<RDoc::Task:0xacc2fe0>
/home/yanagi/ruby/test/rake/test_rdoc_task.rb:81:in
testinlinesourceoptioncanbedisabled'
=end

History

#1 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Assigned
  • Assignee set to Eric Hodel
  • Target version set to 1.9.3

=begin

=end

#2 Updated by Eric Hodel over 3 years ago

=begin
On Dec 20, 2010, at 3:57, Kouhei Yanagita redmine@ruby-lang.org wrote:

Bug #4174: 1F1E on rdoc tests
http://redmine.ruby-lang.org/issues/show/4174

Author: Kouhei Yanagita
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-12-20 trunk 30253) [i686-linux]

During `make test-all', rdoc tests fails as follows:

1) Failure:
testinlinesourceisenabledbydefault(Rake::TestRDocTask) [/home/yanagi/ruby/test/rake/testrdoctask.rb:65]:
Failed assertion, no message given.

2) Error:
testinlinesourceoptioncanbedisabled(Rake::TestRDocTask):
NoMethodError: undefined method inline_source=' for #<RDoc::Task:0xacc2fe0>
/home/yanagi/ruby/test/rake/test_rdoc_task.rb:81:in
testinlinesourceoptioncanbedisabled'

I could not rub test-all when I committed due to a drbssl/RSA error.

Jim agreed to remove Rake::RDocTask from rake long ago but has not yet done so. This is the source of the problem.

I have sent him a pull request but he has not yet responded:

https://github.com/jimweirich/rake/pull/13

I will try sending a postcard too.

=end

#3 Updated by Yui NARUSE over 3 years ago

=begin
2010/12/21 Eric Hodel drbrain@segment7.net:

I could not rub test-all when I committed due to a drbssl/RSA error.

Skip that tests like following:
make RUBYOPT=-w TESTS='-v -n"/\A(?!testgetptynonexistent)/"'
TMPDIR=/tmp/test-all test-all|&tee t.log

--
NARUSE, Yui
naruse@airemix.jp

=end

#4 Updated by Eric Hodel over 3 years ago

=begin

On Dec 20, 2010, at 16:14, NARUSE, Yui wrote:

2010/12/21 Eric Hodel drbrain@segment7.net:

I could not rub test-all when I committed due to a drbssl/RSA error.

Skip that tests like following:
make RUBYOPT=-w TESTS='-v -n"/\A(?!testgetptynonexistent)/"'
TMPDIR=/tmp/test-all test-all|&tee t.log

Ah! I will be more clever with my regexp next time then, thank you!

=end

#5 Updated by Eric Hodel over 3 years ago

  • Status changed from Assigned to Closed

=begin
I asked Jim if it was ok to replace Rake::RDocTask with RDoc::Task and he approved.

I have updated to RDoc 3.1 and removed RDoc::Task.
=end

#6 Updated by Eric Hodel over 3 years ago

=begin
Sorry, I have removed lib/rake/rdoctask's implementation and replaced it with a warning and a require 'rdoc/task'. rdoc/task contains a backwards-compatible implementation.
=end

Also available in: Atom PDF