ld/testsuite: don't output to /dev/null
authorClément Chigot <chigot@adacore.com>
Fri, 13 Jan 2023 09:21:07 +0000 (10:21 +0100)
committerClément Chigot <chigot@adacore.com>
Tue, 21 Feb 2023 08:07:06 +0000 (09:07 +0100)
commitfd7f7424f5f68ad5cb16a5319f60ba15a7d23107
tree9aa56f2aca304ca5e95d54e887ff888e7b7dcc3b
parent284e8cbae0d78a3a0a0e3ceeb862ce5ad149a7a2
ld/testsuite: don't output to /dev/null

Mingw doesn't have /dev/null and thus "-o /dev/null" will fail.
Currently, all the options are checked using this "-o /dev/null",
resulting in them being disabled on mingw hosts.
Fix that by outputting to a real file for all targets.

ld/ChangeLog:

* testsuite/config/default.exp: Replace "-o /dev/null" by a
file.
ld/testsuite/config/default.exp