Project

General

Profile

Actions

Bug #12408

closed

cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb

Added by duerst (Martin Dürst) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-05-21 trunk 55091) [x86_64-cygwin]
[ruby-core:75647]

Description

When I try to run some individual tests with test/runner.rb, I get an error like this:

$ ruby test/runner.rb test/ruby/test_ifunless.rb
/usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- -test-/testutil (LoadError)
        from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /cygdrive/c/Data/ruby/test/lib/test/unit.rb:11:in `<top (required)>'
        from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from test/runner.rb:13:in `<main>'

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12472: No rule to make target `un-runnable', needed by `runnable'Closednobu (Nobuyoshi Nakada)Actions
Actions

Also available in: Atom PDF