Project

General

Profile

Actions

Bug #4174

closed

1F1E on rdoc tests

Added by kyanagi (Kouhei Yanagita) over 13 years ago. Updated almost 13 years ago.

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

Description

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

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

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

Actions #1

Updated by naruse (Yui NARUSE) over 13 years ago

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

=begin

=end

Actions #2

Updated by drbrain (Eric Hodel) over 13 years ago

=begin
On Dec 20, 2010, at 3:57, Kouhei Yanagita 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:
    test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/home/yanagi/ruby/test/rake/test_rdoc_task.rb:65]:
    Failed assertion, no message given.

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

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

Actions #3

Updated by naruse (Yui NARUSE) over 13 years ago

=begin
2010/12/21 Eric Hodel :

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(?!test_getpty_nonexistent)/"'
TMPDIR=/tmp/test-all test-all|&tee t.log

--
NARUSE, Yui

=end

Actions #4

Updated by drbrain (Eric Hodel) over 13 years ago

=begin

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

2010/12/21 Eric Hodel :

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(?!test_getpty_nonexistent)/"'
TMPDIR=/tmp/test-all test-all|&tee t.log

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

=end

Actions #5

Updated by drbrain (Eric Hodel) over 13 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

Actions #6

Updated by drbrain (Eric Hodel) over 13 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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0