Actions
Misc #19142
openRun test suites against 'install', based on ENV variable?
Status:
Open
Assignee:
-
Description
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.
Updated by nobu (Nobuyoshi Nakada) almost 2 years ago
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.
Actions
Like0
Like0