From 09f9a7a5b6464407ab611395b2c212edd74818a8 Mon Sep 17 00:00:00 2001 From: utilum Date: Tue, 26 Jun 2018 12:15:02 +0200 Subject: 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. --- railties/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/Rakefile b/railties/Rakefile index 8251b2bb32..f918329df3 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -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 -- cgit v1.2.3