[libgomp/66518] Resolve XFAIL in libgomp.oacc-c-c++-common/lib-3.c
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 26 Oct 2015 16:24:28 +0000 (17:24 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 26 Oct 2015 16:24:28 +0000 (17:24 +0100)
libgomp/
PR libgomp/66518
* testsuite/libgomp.oacc-c-c++-common/lib-3.c: Resolve XFAIL.

From-SVN: r229379

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c

index 76cb423e0f4f8bda489cc5cb2500f73264ec20e5..e99f9241d07903bfda824d0fe3a466edcf3da116 100644 (file)
@@ -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.
index 7118797a84f8e45e47c6f9882c4c4b4892baa2a5..f9a733975732fb34cf1523d6d390b1ba8a1dcd06 100644 (file)
@@ -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 "" } */