Don't call "error" in sysroot-prefix.exp
authorAlan Modra <amodra@gmail.com>
Thu, 22 Dec 2016 01:37:31 +0000 (12:07 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 22 Dec 2016 04:50:32 +0000 (15:20 +1030)
commitab55d1a098571a559bf75031e1c3e7c914afadd7
tree8eef2ba38a6e4834b1a372755e9120932a717597
parenteb3908448bfe295e49bc7bd8a88b90deaa1ba95f
Don't call "error" in sysroot-prefix.exp

We don't want to report a test failure as a tcl error.

* testsuite/ld-scripts/sysroot-prefix.exp (sysroot_prefix_test_setup):
Call perror rather than error on "as" or "ar" failures.
ld/ChangeLog
ld/testsuite/ld-scripts/sysroot-prefix.exp