ld/testsuite: skip bootstrap.exp when OFILES are missing
authorClément Chigot <chigot@adacore.com>
Wed, 14 Sep 2022 09:27:07 +0000 (11:27 +0200)
committerClément Chigot <chigot@adacore.com>
Thu, 22 Sep 2022 07:23:18 +0000 (09:23 +0200)
commit3581ae2d450f2c885d9d964668b56ba0cffc83fa
treef9bac48db547e2f877c0c1a289f7a91cb4f6dc01
parent0383bce6502271455804daa533c9d141e7c3fc98
ld/testsuite: skip bootstrap.exp when OFILES are missing

OFILES are normally provided through an environment variable set by
Makefiles. However, when launching the testsuite directly through
runtest outside the build tree, it can be hard to retrieve them.
Thus, they can be missing.
Instead of letting tcl raise an error when trying to access this
OFILES variable, skip bootstrap.exp if it doesn't exist.

ld/ChangeLog:

* testsuite/ld-bootstrap/bootstrap.exp: Skip if OFILES is
missing
ld/testsuite/ld-bootstrap/bootstrap.exp