contrib/regression/btest-gcc.sh: Handle multiple options.
commit0ca1e90ae1a3b0ecb4ae90f9b785e618b295a3ff
authorHans-Peter Nilsson <hp@axis.com>
Wed, 22 Nov 2023 17:11:13 +0000 (22 18:11 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 23 Nov 2023 23:20:42 +0000 (24 00:20 +0100)
tree1b2a6fd384abf52985faa72e33388bad8350af1e
parentf33a4a7f745f4320cd0571c50fbfc12c4408be0f
contrib/regression/btest-gcc.sh: Handle multiple options.

This is a long-standing bug: passing "-j --add-passes-despite-regression"
or "--add-passes-despite-regression -j" caused the second option to be
treated as TARGET; the first non-option parameter.

* btest-gcc.sh (Option handling): Handle multiple options.
contrib/regression/btest-gcc.sh