* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
names after PASS and FAIL which do not depend on source directory
name or on whether test passed or failed.
* testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
* Makefile.am (site.exp): Set tmpdir.
* Makefile.in: Regenerated.
* testsuite/lib/checkoutput.exp (newlib_check_output): Put
executables in $tmpdir.
* testsuite/lib/flags.exp (libgloss_link_flags): Use the original
libgloss version if not running in the build directory.
* testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
$tmpdir.
* testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
in $tmpdir.
only one pass or fail per test file. Trim \r's from output
values received from test programs. Remove support for named
tests.
* testsuite/newlib.locale/UTF-8.exp: Update to support new
newlib_check_output behaviour.
* testsuite/newlib.locale/UTF-8.c: Likewise.