Enable TESTOPTS in railties tests
Unlike the other components' test suites, railties' currently ignores such useful options as `"--verbose"` or `"--name"`. This patch allows us to use them.
This commit is contained in:
parent
cc0e84f9bf
commit
09f9a7a5b6
@ -46,7 +46,7 @@ namespace :test do
|
||||
# We could run these in parallel, but pretty much all of the
|
||||
# railties tests already run in parallel, so ¯\_(⊙︿⊙)_/¯
|
||||
Process.waitpid fork {
|
||||
ARGV.clear
|
||||
ARGV.clear.push ENV["TESTOPTS"]
|
||||
Rake.application = nil
|
||||
|
||||
load file
|
||||
|
Loading…
Reference in New Issue
Block a user