Actions
Misc #20568
closedLook for test.rb in the current working directory
Misc #20568:
Look for test.rb in the current working directory
Status:
Rejected
Assignee:
-
Description
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.
Actions