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
declare-1.C
declare-pr94120.C Fix declare copyout in libgomp.oacc-c++/declare-pr94120.C 2020-04-20 12:38:50 +02:00
deep-copy-12.C OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-13.C OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
firstprivate-mappings-1.C [gcn] Use 'radeon' for the environment variable 'ACC_DEVICE_TYPE' 2020-04-29 09:24:07 +02:00
non-scalar-data.C [OpenACC] C++ reference mapping 2018-09-12 15:21:19 +00:00
pr71959-aux.cc Add testcase from PR71959 2019-01-10 12:32:03 +00:00
pr71959.C Add testcase from PR71959 2019-01-10 12:32:03 +00:00
ref-1.C
routine-1-auto.C [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
routine-1-template-auto.C [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
routine-1-template-trailing-return-type.C [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
routine-1-template.C [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
routine-1-trailing-return-type.C [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
template-reduction.C
this.C [OpenACC] Support C++ "this" in OpenACC directives 2018-10-29 14:31:20 +00:00