diff options
author | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-26 16:24:28 +0000 |
---|---|---|
committer | tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-26 16:24:28 +0000 |
commit | 54c8f61c735f98c73033ad04fc5db9062f8ad3a8 (patch) | |
tree | 3422857fa4f632351eb394668d0c9ebaa4f53916 /libgomp | |
parent | a6dcb5581494a8b750daf173f04ef087d6dc60c5 (diff) | |
download | gcc-54c8f61c735f98c73033ad04fc5db9062f8ad3a8.tar.gz |
[libgomp/66518] Resolve XFAIL in libgomp.oacc-c-c++-common/lib-3.c
libgomp/
PR libgomp/66518
* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Resolve XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229379 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 76cb423e0f4..e99f9241d07 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,8 @@ 2015-10-26 Thomas Schwinge <thomas@codesourcery.com> + PR libgomp/66518 + * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Resolve XFAIL. + PR libgomp/65437 PR libgomp/66518 * oacc-mem.c (update_dev_host): Call goacc_lazy_initialize. diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c index 7118797a84f..f9a73397573 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c @@ -1,4 +1,6 @@ -/* { dg-do run } */ +/* Expect an error message when shutting down a device different from the one + that has been initialized. */ +/* { dg-do run { target { ! openacc_host_selected } } } */ #include <stdio.h> #include <openacc.h> @@ -15,6 +17,5 @@ main (int argc, char **argv) } /* { dg-output "CheCKpOInT(\n|\r\n|\r).*" } */ -/* TODO: currently prints: "libgomp: no device found". */ -/* { dg-output "device \[0-9\]+\\\(\[0-9\]+\\\) is initialized" { xfail *-*-* } } */ +/* { dg-output "no device initialized" } */ /* { dg-shouldfail "" } */ |