This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgomp: XFAIL two libgomp.oacc-* tests (was: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests)


Hi!

On Tue, 5 May 2015 11:43:20 +0200, I wrote:
> On Mon, 4 May 2015 10:20:14 -0400, John David Anglin <dave.anglin@bell.net> wrote:
> > FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/lib-3.c 
> > -DACC_DEVICE_TYPE_host
> > =1 -DACC_MEM_SHARED=1 output pattern test, is
> > libgomp: no device found
> > , should match device [0-9]+\([0-9]+\) is initialized
> > FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/lib-42.c 
> > -DACC_DEVICE_TYPE_hos
> > t=1 -DACC_MEM_SHARED=1 output pattern test, is , should match 
> > \[[0-9a-fA-FxX]+,2
> > 56\] is not mapped
> 
> These are known issues.

In r224639, now (at least, and at last...) XFAILed as follows:

commit c130d11c707853c1065f765698bb6dd93706bb83
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Jun 19 07:41:37 2015 +0000

    libgomp: XFAIL two libgomp.oacc-* tests
    
    	PR libgomp/66518
    	libgomp/
    	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: XFAIL.
    	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224639 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libgomp/ChangeLog                                    |    6 ++++++
 libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c  |    3 ++-
 libgomp/testsuite/libgomp.oacc-c-c++-common/lib-42.c |    4 +++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git libgomp/ChangeLog libgomp/ChangeLog
index d7e0d36..d49b056 100644
--- libgomp/ChangeLog
+++ libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-19  Thomas Schwinge  <thomas@codesourcery.com>
+
+	PR libgomp/66518
+	* testsuite/libgomp.oacc-c-c++-common/lib-3.c: XFAIL.
+	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
+
 2015-06-15  Tom de Vries  <tom@codesourcery.com>
 
 	* testsuite/libgomp.c/atomic-1.c: Remove dg-options "-O2".  Use
diff --git libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c
index bb76c82..d5f390d 100644
--- libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c
+++ libgomp/testsuite/libgomp.oacc-c-c++-common/lib-3.c
@@ -12,5 +12,6 @@ main (int argc, char **argv)
   return 0;
 }
 
-/* { dg-output "device \[0-9\]+\\\(\[0-9\]+\\\) is initialized" } */
+/* TODO: currently prints: "libgomp: no device found".  */
+/* { dg-output "device \[0-9\]+\\\(\[0-9\]+\\\) is initialized" { xfail *-*-* } } */
 /* { dg-shouldfail "" } */
diff --git libgomp/testsuite/libgomp.oacc-c-c++-common/lib-42.c libgomp/testsuite/libgomp.oacc-c-c++-common/lib-42.c
index ff3eab4..b74addd 100644
--- libgomp/testsuite/libgomp.oacc-c-c++-common/lib-42.c
+++ libgomp/testsuite/libgomp.oacc-c-c++-common/lib-42.c
@@ -32,5 +32,7 @@ main (int argc, char **argv)
   return 0;
 }
 
-/* { dg-output "\\\[\[0-9a-fA-FxX\]+,256\\\] is not mapped" } */
+/* TODO: currently doesn't print anything; SIGSEGV.
+   <https://gcc.gnu.org/PR66518>.  */
+/* { dg-output "\\\[\[0-9a-fA-FxX\]+,256\\\] is not mapped" { xfail *-*-* } } */
 /* { dg-shouldfail "" } */


GrÃÃe,
 Thomas

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]