[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.

From-SVN: r229379
This commit is contained in:
Thomas Schwinge 2015-10-26 17:24:28 +01:00 committed by Thomas Schwinge
parent 8baa7864a6
commit 7c8f138de6
2 changed files with 7 additions and 3 deletions

View 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.

View 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 "" } */