]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: handle-multiline-outputs must allow both cc1 and cc1.exe
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 17 Jul 2025 12:27:08 +0000 (14:27 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Sun, 10 Aug 2025 11:16:34 +0000 (13:16 +0200)
commit45212364fd812be21b98768a5bb3ed67487f59d8
tree417d8607f0e96ae8f8db1d170fa7407406ac68b8
parent21a87ad785fe1e7c6504c3cf7984e74fe5a5067a
testsuite: handle-multiline-outputs must allow both cc1 and cc1.exe

Prior to 14-2027-g985d6480fe5, the input text had the file extensions
pruned. In 14-2027-g985d6480fe5, due to the move of the call, the
pruning is never done. This change restores the pruning of the file
extension to allow multiline test to pass on both Windows and other
platforms like Linux.

gcc/testsuite/ChangeLog:

* lib/multiline.exp: Added pruning of .exe.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
(cherry picked from commit 7494e197e442dcb0fd6aceacdaee732e62b2c5d7)
gcc/testsuite/lib/multiline.exp