]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Pattern does not match when using --specs=nano.specs
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 6 Feb 2024 16:58:26 +0000 (17:58 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Fri, 9 Feb 2024 08:37:42 +0000 (09:37 +0100)
commit1175d1b35ce7bf8ee7c9b37b334370f01eb95335
treea9523f01b0478dc165b942f07521b437c1d974bf
parent90586e27fa6ea4f9b0edab3aecb24637c776c5e0
testsuite: Pattern does not match when using --specs=nano.specs

When running the testsuite for newlib nano, the --specs=nano.specs
option is used.  This option prepends cpp_unique_options with
"-isystem =/include/newlib-nano" so that the newlib nano header files
override the newlib standard ones.  As the -isystem option is prepended,
the -quiet option is no longer the first option to cc1.  Adjust the test
accordingly.

Patch has been verified on Windows and Linux.

gcc/testsuite/ChangeLog:

* gcc.misc-tests/options.exp: Allow other options before the
-quite option for cc1.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/gcc.misc-tests/options.exp