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
@ -70,7 +70,7 @@ module Test
|
|||||||
else
|
else
|
||||||
seed = options[:seed] = srand % 100_000
|
seed = options[:seed] = srand % 100_000
|
||||||
srand(seed)
|
srand(seed)
|
||||||
orig_args << "--seed=#{seed}"
|
orig_args.unshift "--seed=#{seed}"
|
||||||
end
|
end
|
||||||
|
|
||||||
@help = "\n" + orig_args.map { |s|
|
@help = "\n" + orig_args.map { |s|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user