mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/lib/test/unit: support TESTS='-- -ext-' again
There is a test directory named test/-ext-. Because this directry starts with a hyphen, we have to cheat test/unit in order for it to run the tests underneath. TESTS='-- -ext' worked for a long time. Let's not break that maneuver.
This commit is contained in:
parent
f12b9a3338
commit
f7048f9d55
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ module Test
|
|||
else
|
||||
seed = options[:seed] = srand % 100_000
|
||||
srand(seed)
|
||||
orig_args << "--seed=#{seed}"
|
||||
orig_args.unshift "--seed=#{seed}"
|
||||
end
|
||||
|
||||
@help = "\n" + orig_args.map { |s|
|
||||
|
|
Loading…
Reference in a new issue