From: "MSP-Greg (Greg L)" <noreply@...>
Date: 2022-11-22T22:39:08+00:00
Subject: [ruby-core:110861] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable?

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/

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