Skip to content

Commit 936f21f

Browse files
committed
support TESTOPTS when running tests
1 parent 8bd5e18 commit 936f21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ end
6565

6666
desc "Run tests"
6767
task :test do
68-
sh "ruby -w -W2 -I. -Ilib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
68+
sh %Q{ruby -w -W2 -I. -Ilib -e "#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}" -- -v #{ENV['TESTOPTS']}}
6969
end
7070

7171
desc "Update predefined_user_group.rb"

0 commit comments

Comments
 (0)