Project

General

Profile

Actions

Misc #20568

closed

Look for test.rb in the current working directory

Added by eightbitraptor (Matthew Valentine-House) 13 days ago. Updated 10 days ago.

Status:
Rejected
Assignee:
-
[ruby-core:118267]

Description

Github PR link

The test.rb script used by make run etc is explicitly located in the $srcdir - the location of the Ruby source code.

The Building Ruby documentation recommends using out-of-source builds.

Requiring test.rb to be located in the source directory prevents me from having multiple build directories, with a distinct test.rb per build, instead forcing pollution of the source directory.

I propose looking for test.rb in the current working directory. This will maintain compatibility with in-source builds, and provide extra flexibility for those of us using out-of-source builds.

There will be a small one time impact for Ruby committers, who will have to move their existing test.rb files into their build directories.

Updated by alanwu (Alan Wu) 10 days ago

  • Status changed from Open to Rejected

Closing as per discussion in https://github.com/ruby/ruby/pull/10950

Actions

Also available in: Atom PDF

Like1
Like0