libgomp/test: Remove a build sysroot fix regression
authorMaciej W. Rozycki <macro@wdc.com>
Mon, 6 Apr 2020 22:32:45 +0000 (23:32 +0100)
committerMaciej W. Rozycki <macro@wdc.com>
Mon, 6 Apr 2020 22:32:45 +0000 (23:32 +0100)
commit749bd22ddc50b5112e5ed506ffef7249bf8e6fb3
tree4ab4c9318f014f4494a32933abab33abac3fc36c
parent5ff06d762a88077aff0fb637c931c64e6f47f93d
libgomp/test: Remove a build sysroot fix regression

Fix a problem with commit c8e759b4215b ("libgomp/test: Fix compilation
for build sysroot") that caused a regression in some standalone test
environments where testsuite/libgomp-test-support.exp is used, but the
compiler is expected to be determined by `[find_gcc]', and set the
GCC_UNDER_TEST TCL variable in testsuite/libgomp-site-extra.exp instead.

libgomp/
* configure.ac: Add testsuite/libgomp-site-extra.exp to output
files.
* configure: Regenerate.
* testsuite/libgomp-site-extra.exp.in: New file.
* testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): Remove
variable.
* testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
variable.
* testsuite/Makefile.in: Regenerate.
libgomp/ChangeLog
libgomp/configure
libgomp/configure.ac
libgomp/testsuite/Makefile.am
libgomp/testsuite/Makefile.in
libgomp/testsuite/libgomp-site-extra.exp.in [new file with mode: 0644]
libgomp/testsuite/libgomp-test-support.exp.in