diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2022-09-29 20:07:11 +0200 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2022-10-05 09:46:35 +0000 |
commit | fa8e3a055a082e38aeab2561a5016b01ebfd6ebd (patch) | |
tree | e5f390090d6a490c355461299a8ab132783d0827 /gcc/fortran | |
parent | 5fe2e4f87e512407c5c560dfec2fe48ba099c807 (diff) | |
download | gcc-fa8e3a055a082e38aeab2561a5016b01ebfd6ebd.zip gcc-fa8e3a055a082e38aeab2561a5016b01ebfd6ebd.tar.gz gcc-fa8e3a055a082e38aeab2561a5016b01ebfd6ebd.tar.bz2 |
testsuite: Windows reports errors with CreateProcess
When the mapper can't be executed, Windows report the error like:
.../bad-mapper-1.C: error: failed CreateProcess mapper 'this-will-not-work'
On Linux, the same error is reported this way:
.../bad-mapper-1.C: error: failed execvp mapper 'this-will-not-work'
This patch allows both output forms to be accepted.
Patch has been verified on Windows and Linux.
gcc/testsuite:
* g++.dg/modules/bad-mapper-1.C: Also accept CreateProcess.
Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions