1
0
Fork 0
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:
卜部昌平 2020-03-02 15:50:22 +09:00
parent f12b9a3338
commit f7048f9d55

View file

@ -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|