Skip to content

Commit 2a9a472

Browse files
Prompt use of TESTOPTS
1 parent 55bfef2 commit 2a9a472

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rake/testtask.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def define
107107
desc @description
108108
task @name => Array(deps) do
109109
FileUtilsExt.verbose(@verbose) do
110+
puts "Use TESTOPTS=\"--verbose\" to pass --verbose" \
111+
", etc. to runners." if ARGV.include? '--verbose'
110112
args =
111113
"#{ruby_opts_string} #{run_code} " +
112114
"#{file_list_string} #{option_list}"

0 commit comments

Comments
 (0)