summaryrefslogtreecommitdiff
path: root/tool/lib/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-05-17 16:33:56 +0900
committerNobuyoshi Nakada <[email protected]>2020-05-17 16:34:06 +0900
commit968d6df49f5f59eb2898d27399ad6d49b723216d (patch)
tree45ac36c433a0ff02c1c3e16ef49b5aec65208b00 /tool/lib/test
parent2c3c6c96cfc31eb387c643990375e6e1d67b409d (diff)
Added --test-order=nosort option
Run tests in the order given in the command line.
Diffstat (limited to 'tool/lib/test')
-rw-r--r--tool/lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb
index a2ee464ff1..0cba377db2 100644
--- a/tool/lib/test/unit.rb
+++ b/tool/lib/test/unit.rb
@@ -102,7 +102,7 @@ module Test
(options[:filter] ||= []) << a
end
- opts.on '--test-order=random|alpha|sorted', [:random, :alpha, :sorted] do |a|
+ opts.on '--test-order=random|alpha|sorted|nosort', [:random, :alpha, :sorted, :nosort] do |a|
MiniTest::Unit::TestCase.test_order = a
end
end