diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2022-09-29 19:38:10 +0200 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2022-10-05 09:44:11 +0000 |
commit | 5fe2e4f87e512407c5c560dfec2fe48ba099c807 (patch) | |
tree | 31d24f12124c7202b289a118fe5dacb0a057c2c2 /gcc/fortran | |
parent | b77bcdf445685f28dae9e42b69e006801d653001 (diff) | |
download | gcc-5fe2e4f87e512407c5c560dfec2fe48ba099c807.zip gcc-5fe2e4f87e512407c5c560dfec2fe48ba099c807.tar.gz gcc-5fe2e4f87e512407c5c560dfec2fe48ba099c807.tar.bz2 |
testsuite: /dev/null is not accessible on Windows
When running the DejaGNU testsuite on a toolchain built for native
Windows, the path /dev/null can't be used to open a stream to void.
On native Windows, the resource is instead named "nul".
The error would look like this:
c:/arm-11.3.rel1/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find @/dev/null: No such file or directory
Patch has been verified on Windows and Linux.
gcc/testsuite:
* gcc.misc-tests/outputs.exp: Use "@nul" for Windows,
"@/dev/null" for other environments.
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