1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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:
utilum 2018-06-26 12:15:02 +02:00
parent cc0e84f9bf
commit 09f9a7a5b6

View file

@ -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