testsuite: gluefile file need to be prefixed
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 14 Sep 2022 05:22:27 +0000 (07:22 +0200)
committerYvan Roux <yvan.roux@st.com>
Wed, 14 Sep 2022 06:58:15 +0000 (08:58 +0200)
commit9d503515ceebc778a5c2958f7459367c34f1fed0
tree2a28278f9f1672bc958203f3e08670627b455ad3
parent1995a0227d2602718fd0b283a8c7050fdfc701fb
testsuite: gluefile file need to be prefixed

When the status wrapper is used, the gluefile need to be prefixed with
-Wl, in order for the test cases to have the dump files with the
expected names.

2022-09-14  Torbjörn SVENSSON  <torbjorn.svensson@foss.st.com>

gcc/testsuite/
PR target/95720
* lib/g++.exp: Moved gluefile block to after flags have been
  prefixed for the target_compile call.
* lib/gcc.exp: Likewise.
* lib/wrapper.exp: Reset adjusted state flag.

Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
gcc/testsuite/lib/g++.exp
gcc/testsuite/lib/gcc.exp
gcc/testsuite/lib/wrapper.exp