libgomp: Only test with configured (supported) offloading devices.
commitcf4f8a78be8da33b991590a1ac24cd001b58bdb7
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Dec 2014 22:52:20 +0000 (17 22:52 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Dec 2014 22:52:20 +0000 (17 22:52 +0000)
treea8010df8ecf2b19657fb009f7ae910fa6fe9ea8f
parentde01639bf47e29a20959771e587fb6f30c372a45
libgomp: Only test with configured (supported) offloading devices.

libgomp/
* testsuite/lib/libgomp.exp: Set offload_targets_s, and
offload_targets_s_openacc.
(check_effective_target_openacc_nvidia_accel_selected): Look for
global offload_target_openacc instead of ACC_DEVICE_TYPE
environment variable.
* testsuite/libgomp.oacc-c++/c++.exp: Loop through
offload_targets_s_openacc.
* testsuite/libgomp.oacc-c/c.exp: Likewise.
* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@218846 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog.gomp
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.oacc-c++/c++.exp
libgomp/testsuite/libgomp.oacc-c/c.exp
libgomp/testsuite/libgomp.oacc-fortran/fortran.exp