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

From: usa@...
Date: 2016-06-08 05:27:59 UTC
List: ruby-core #75892
Issue #12408 has been updated by Usaku NAKAMURA.

Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED

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

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