ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:75647] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
       [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
@ 2016-05-21  0:49 ` duerst
  2016-05-21  3:00 ` [ruby-core:75650] [Ruby trunk Bug#12408][Closed] " nobu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: duerst @ 2016-05-21  0:49 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:75650] [Ruby trunk Bug#12408][Closed] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
       [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
  2016-05-21  0:49 ` [ruby-core:75647] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb duerst
@ 2016-05-21  3:00 ` nobu
  2016-05-21  4:51 ` [ruby-core:75654] [Ruby trunk Bug#12408][Open] " duerst
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: nobu @ 2016-05-21  3:00 UTC (permalink / raw
  To: ruby-core

Issue #12408 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed

You have to run tests with the built ruby, not installed one.
`make runnable` and use `./bin/ruby.exe`.

----------------------------------------
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-58783

* 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: 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:75654] [Ruby trunk Bug#12408][Open] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
       [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
  2016-05-21  0:49 ` [ruby-core:75647] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb duerst
  2016-05-21  3:00 ` [ruby-core:75650] [Ruby trunk Bug#12408][Closed] " nobu
@ 2016-05-21  4:51 ` duerst
  2016-05-21  4:52 ` [ruby-core:75655] [Ruby trunk Bug#12408] " duerst
  2016-06-08  5:27 ` [ruby-core:75892] " usa
  4 siblings, 0 replies; 5+ messages in thread
From: duerst @ 2016-05-21  4:51 UTC (permalink / raw
  To: ruby-core

Issue #12408 has been updated by Martin Dürst.

Status changed from Closed to Open

Nobuyoshi Nakada wrote:
> You have to run tests with the built ruby, not installed one.
> `make runnable` and use `./bin/ruby.exe`.

Thanks, this works. But it used to work without `make runnable` and without `./bin/ruby` until a few days ago. Why does it suddenly have to be more complicated?

(I even remember that you told me to use `ruby test/runner.rb ...` some time ago.)

----------------------------------------
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-58787

* 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:75655] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
       [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2016-05-21  4:51 ` [ruby-core:75654] [Ruby trunk Bug#12408][Open] " duerst
@ 2016-05-21  4:52 ` duerst
  2016-06-08  5:27 ` [ruby-core:75892] " usa
  4 siblings, 0 replies; 5+ messages in thread
From: duerst @ 2016-05-21  4:52 UTC (permalink / raw
  To: ruby-core

Issue #12408 has been updated by Martin Dürst.


BTW, do I have to use `make runnable` before every test, or after every `make install-nodoc` or when?

----------------------------------------
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-58788

* 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:75892] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
       [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2016-05-21  4:52 ` [ruby-core:75655] [Ruby trunk Bug#12408] " duerst
@ 2016-06-08  5:27 ` usa
  4 siblings, 0 replies; 5+ messages in thread
From: usa @ 2016-06-08  5:27 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-08  4:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-12408.20160521004932@ruby-lang.org>
2016-05-21  0:49 ` [ruby-core:75647] [Ruby trunk Bug#12408] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb duerst
2016-05-21  3:00 ` [ruby-core:75650] [Ruby trunk Bug#12408][Closed] " nobu
2016-05-21  4:51 ` [ruby-core:75654] [Ruby trunk Bug#12408][Open] " duerst
2016-05-21  4:52 ` [ruby-core:75655] [Ruby trunk Bug#12408] " duerst
2016-06-08  5:27 ` [ruby-core:75892] " usa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).