gcc/libgomp/testsuite/libgomp.oacc-c
Thomas Schwinge fdc9db2539 [testsuite] Unset 'offload_target' after use
..., so that we don't leak this into '*.exp' files running later.

This is relevant after commit efc16503ca "handle
dumpbase in offloading, adjust testsuite" -- I was confused why in a
(simplified) testing sequence as follows:

  default 'libgomp.c/c.exp'
  default 'libgomp.oacc-c/c.exp'
  '-m32' 'libgomp.c/c.exp'
  '-m32' 'libgomp.oacc-c/c.exp'

..., the "'-m32' 'libgomp.c/c.exp'" variant would not execute any offloading
dump scanning.  The reason is that the "default 'libgomp.oacc-c/c.exp'" variant
ends with 'offload_target=disable' set, so that's what the "'-m32'
'libgomp.c/c.exp'" variant would then see, in particular
'gcc/testsuite/lib/scanoffload.exp:scoff'.

	libgomp/
	* testsuite/libgomp.oacc-c++/c++.exp: Unset 'offload_target' after
	use.
	* testsuite/libgomp.oacc-c/c.exp: Likewise.
	* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.
2020-07-24 14:00:43 +02:00
..
c.exp [testsuite] Unset 'offload_target' after use 2020-07-24 14:00:43 +02:00
nested-function-1.c [PR middle-end/71373] Handle more OMP_CLAUSE_* in nested function decomposition 2016-06-10 11:22:51 +02:00
nested-function-2.c [PR middle-end/71373] Handle more OMP_CLAUSE_* in nested function decomposition 2016-06-10 11:22:51 +02:00
print-1.c Add tests for print from offload target. 2019-11-15 10:49:10 +00:00
vec.c [testsuite] Add scan-offload-tree-dump 2018-05-03 13:47:14 +00:00