* [ruby-core:110861] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable?
@ 2022-11-22 22:39 MSP-Greg (Greg L)
2022-11-26 6:32 ` [ruby-core:111017] " nobu (Nobuyoshi Nakada)
0 siblings, 1 reply; 2+ messages in thread
From: MSP-Greg (Greg L) @ 2022-11-22 22:39 UTC (permalink / raw)
To: ruby-core
Issue #19142 has been reported by MSP-Greg (Greg L).
----------------------------------------
Misc #19142: Run test suites against 'install', based on ENV variable?
https://bugs.ruby-lang.org/issues/19142
* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
----------------------------------------
Some time ago I believe there was discussion about:
```
make
make test
make install
```
vs
```
make
make install
make test
```
Some people preferred to not have to run install before test (disk space, time, etc).
Might an environment variable like `RUBY_TEST_FROM_INSTALL` or `RUBY_TEST_FROM_PATH` be
added that would trigger the test suite to test against the Ruby install folder or the
Ruby in PATH?
I believe a handful of files in the test system would need changes, as they load files
using `require_relative`...
I think spec/mspec is already setup to do so.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:111017] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable?
2022-11-22 22:39 [ruby-core:110861] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable? MSP-Greg (Greg L)
@ 2022-11-26 6:32 ` nobu (Nobuyoshi Nakada)
0 siblings, 0 replies; 2+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2022-11-26 6:32 UTC (permalink / raw)
To: ruby-core
Issue #19142 has been updated by nobu (Nobuyoshi Nakada).
I think that `test` needs `install` only when "preloadenv" and `--enable-load-relative` can't work.
At least `test-all` can run as `/install/bin/ruby test/runner.rb`, I think.
----------------------------------------
Misc #19142: Run test suites against 'install', based on ENV variable?
https://bugs.ruby-lang.org/issues/19142#change-100270
* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
----------------------------------------
Some time ago I believe there was discussion about:
```
make
make test
make install
```
vs
```
make
make install
make test
```
Some people preferred to not have to run install before test (disk space, time, etc).
Might an environment variable like `RUBY_TEST_FROM_INSTALL` or `RUBY_TEST_FROM_PATH` be
added that would trigger the test suite to test against the Ruby install folder or the
Ruby in PATH?
I believe a handful of files in the test system would need changes, as they load files
using `require_relative`...
I think spec/mspec is already setup to do so.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-26 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 22:39 [ruby-core:110861] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable? MSP-Greg (Greg L)
2022-11-26 6:32 ` [ruby-core:111017] " nobu (Nobuyoshi Nakada)
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).