ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "MSP-Greg (Greg L)" <noreply@ruby-lang.org>
To: ruby-core@neon.ruby-lang.org
Subject: [ruby-core:110861] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable?
Date: Tue, 22 Nov 2022 22:39:08 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-19142.20221122223907.11129@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-19142.20221122223907.11129@ruby-lang.org

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/

       reply	other threads:[~2022-11-22 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22 22:39 MSP-Greg (Greg L) [this message]
2022-11-26  6:32 ` [ruby-core:111017] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable? nobu (Nobuyoshi Nakada)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-19142.20221122223907.11129@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    --cc=ruby-core@neon.ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).