aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.oacc-c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-10-31 17:38:03 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-05-09 14:32:45 +0200
commit2ed5ceba0fe313ef09bdfe98788ba9377bfec9aa (patch)
tree64e12c840de4014349e93da591e47beac2b1a398 /libgomp/testsuite/libgomp.oacc-c
parentfed3dbbfd1b707d7386b14e724056bfe2234e3a5 (diff)
downloadgcc-2ed5ceba0fe313ef09bdfe98788ba9377bfec9aa.zip
gcc-2ed5ceba0fe313ef09bdfe98788ba9377bfec9aa.tar.gz
gcc-2ed5ceba0fe313ef09bdfe98788ba9377bfec9aa.tar.bz2
libgomp testsuite: Use 'lang_test_file_found' instead of 'lang_test_file'
The value of 'lang_test_file' isn't actually used anywhere. libgomp/ * testsuite/libgomp.c++/c++.exp: Don't set 'lang_test_file'. * testsuite/libgomp.fortran/fortran.exp: Likewise. * testsuite/libgomp.oacc-c++/c++.exp: Likewise. * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. * testsuite/libgomp.c/c.exp: Unset 'lang_test_file_found' instead of 'lang_test_file'. * testsuite/libgomp.oacc-c/c.exp: Likewise. * testsuite/libgomp.graphite/graphite.exp: Likewise. * testsuite/lib/libgomp.exp (libgomp_target_compile): Look for 'lang_test_file_found' instead of 'lang_test_file'.
Diffstat (limited to 'libgomp/testsuite/libgomp.oacc-c')
-rw-r--r--libgomp/testsuite/libgomp.oacc-c/c.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c/c.exp b/libgomp/testsuite/libgomp.oacc-c/c.exp
index 4bb2b2a..8a960aa 100644
--- a/libgomp/testsuite/libgomp.oacc-c/c.exp
+++ b/libgomp/testsuite/libgomp.oacc-c/c.exp
@@ -4,8 +4,8 @@ if [info exists lang_library_path] then {
unset lang_library_path
unset lang_link_flags
}
-if [info exists lang_test_file] then {
- unset lang_test_file
+if [info exists lang_test_file_found] then {
+ unset lang_test_file_found
}
if [info exists lang_include_flags] then {
unset lang_include_flags