[ruby-core:75647] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb

From: duerst@...
Date: 2016-05-21 00:49:32 UTC
List: ruby-core #75647
Issue #12408 has been reported by Martin D端rst.

----------------------------------------
Bug #12408: cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
https://bugs.ruby-lang.org/issues/12408

* Author: Martin D端rst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-05-21 trunk 55091) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
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>'
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next