Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Errors on gem install tap, windows, jruby

#33
C:\Documents and Settings\chiangs\ruby\jruby-1.1.1\bin>gem install tap --no-rdoc
 --no-ri -t
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby...
Successfully installed tap-0.9.1
1 gem installed
Failure:
test_block_with_mixed_arbitrary_inputs(TaskSyntaxTest)
    [C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/task_syntax_test.rb:256:in `test_block_with_mixed_arbitrary_inpu
ts'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/../lib/tap/test/tap_methods.rb:259:in `with_config'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/../lib/tap/test/tap_methods.rb:217:in `with_options'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/task_syntax_test.rb:251:in `test_block_with_mixed_arbitrary_inpu
ts']:
<Tap::Support::RunError> exception expected but none was thrown.
Failure:
test_capture_sh(ShellUtilsTest) [C:/Documents and Settings/chiangs/ruby/jruby-1.
1.1/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/support/shell_utils_test.rb:12]:
<"hello\n"> expected but was
<"hello\r\n">.
Failure:
test_capture_sh_with_block(ShellUtilsTest) [C:/Documents and Settings/chiangs/ru
by/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/support/shell_utils_test.
rb:21]:
<"hello\n"> expected but was
<"hello\r\n">.
Failure:
test_documentation(RootTest) [C:/Documents and Settings/chiangs/ruby/jruby-1.1.1
/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/root_test.rb:39]:
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/expanded"> expected but was
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/test/root/C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems
/1.8/gems/tap-0.9.1/expanded">.
Failure:
test_filepath_when_path_is_not_set(RootTest) [C:/Documents and Settings/chiangs/
ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/root_test.rb:577]:
<"C:/folder/subfolder/file.txt"> expected but was
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/root/C:/folder/subfolder/file.txt">.

test_get_speed
                          user     system      total        real
10k root[]            0.079000   0.000000   0.079000 (  0.082902)
10k root[path_root]   1.203000   0.000000   1.203000 (  1.206619)
Error:
test_relative_filepath(RootTest):
RuntimeError:
C:/dir/nested/file.txt
is not relative to:
C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.
9.1/root/C:/dir/nested
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/../lib/tap/root.rb:75:in `relative_filepath'
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/../lib/tap/root.rb:291:in `relative_filepath'
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/root_test.rb:595:in `test_relative_filepath'
Error:
test_relative_filepath_when_path_is_not_set(RootTest):
RuntimeError:
C:/folder/subfolder/file.txt
is not relative to:
C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.
9.1/root/C:/folder/subfolder
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/../lib/tap/root.rb:75:in `relative_filepath'
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/../lib/tap/root.rb:291:in `relative_filepath'
    C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/ta
p-0.9.1/./test/root_test.rb:612:in `test_relative_filepath_when_path_is_not_set'

Failure:
test_retrieve_documentation(RootTest) [C:/Documents and Settings/chiangs/ruby/jr
uby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/root_test.rb:534]:
<"C:/expanded/path"> expected but was
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/test/root/C:/expanded/path">.

test_task_init_speed
                          user     system      total        real
10k                   0.468000   0.000000   0.468000 (  0.459143)
10k {}                0.391000   0.000000   0.391000 (  0.396602)
10k name {}           1.969000   0.000000   1.969000 (  1.974236)

test_run_speed
                          user     system      total        real
10k enq               0.422000   0.000000   0.422000 (  0.416700)
10k run               1.953000   0.000000   1.953000 (  1.956733)
10k _execute          0.312000   0.000000   0.312000 (  0.317963)
Failure:
test_terminate_on_thread_when_error_is_handled_still_raises_error(AppTest)
    [C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/app_test.rb:1084:in `test_terminate_on_thread_when_error_is_hand
led_still_raises_error'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/app_test.rb:63:in `extended_test_with_thread_check'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/../lib/tap/test/subset_methods.rb:353:in `subset_test'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/../lib/tap/test/subset_methods.rb:369:in `extended_test'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/app_test.rb:61:in `extended_test_with_thread_check'
     C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/t
ap-0.9.1/./test/app_test.rb:1044:in `test_terminate_on_thread_when_error_is_hand
led_still_raises_error']:
<2> expected but was
<1>.
Failure:
test_backup_dir_can_be_full_path(FileTaskTest) [C:/Documents and Settings/chiang
s/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-0.9.1/./test/file_task_test.rb:280
]:
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/path/to/backup/tap/file_task/file_20080504.txt"> expected but was
<"C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby/gems/1.8/gems/tap-
0.9.1/test/file_task/C:/Documents and Settings/chiangs/ruby/jruby-1.1.1/lib/ruby
/gems/1.8/gems/tap-0.9.1/path/to/backup/tap/file_task/file_20080504.txt">.
  xERROR:  409 tests, 1634 assertions, 8 failures, 2 errors
...keep Gem? [Yn]  y

Reported by bahuvrihi · May 4th, 2008 @ 04:51 PM

State: invalid
Milestone: none
Assigned to: bahuvrihi bahuvrihi

Activity

  1. bahuvrihi
    bahuvrihi
    • State changed from new to invalid
    • Tag set to error, jruby, tap, windows
    • Assigned user set to bahuvrihi

    Tests are no longer included in the gem.

    September 10th, 2008 @ 10:05 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.