Patchwork [v3] disable failing test on cygwin

login
register
mail settings
Submitter Jonathan Wakely
Date Feb. 14, 2012, 11:57 p.m.
Message ID <CAH6eHdTYjQsj81on-=EJS7NkndKvcowR7WL-=sMpyo0rx-fpQQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/141217/
State New
Headers show

Comments

Jonathan Wakely - Feb. 14, 2012, 11:57 p.m.
The native_handle typesize test fails on cygwin, as with other targets
where the assumption about sizes doesn't hold.

Tested x86_64-linux, committed to trunk.
commit 26b8bf489b27e7399305a19384c1cac4829b1a9f
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Tue Feb 14 22:50:40 2012 +0000

    	* 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.

Patch

diff --git a/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc
index 79ea99c..3e105d4 100644
--- a/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc
+++ b/libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc
@@ -1,7 +1,6 @@ 
-// { dg-do run { target *-*-linux* *-*-solaris* *-*-cygwin mips-sgi-irix6* powerpc-ibm-aix* } }
+// { dg-do run { target *-*-linux* *-*-solaris* mips-sgi-irix6* powerpc-ibm-aix* } }
 // { dg-options " -std=gnu++0x -pthread" { target *-*-linux* mips-sgi-irix6* powerpc-ibm-aix* } }
 // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
-// { dg-options " -std=gnu++0x " { target *-*-cygwin } }
 // { dg-require-cstdint "" }
 // { dg-require-gthreads "" }