* testsuite/thread/pthread1.cc: Enable on cygwin.
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2002 16:05:48 +0000 (16:05 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jan 2002 16:05:48 +0000 (16:05 +0000)
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49214 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/thread/pthread1.cc
libstdc++-v3/testsuite/thread/pthread2.cc
libstdc++-v3/testsuite/thread/pthread3.cc
libstdc++-v3/testsuite/thread/pthread4.cc
libstdc++-v3/testsuite/thread/pthread5.cc
libstdc++-v3/testsuite/thread/pthread6.cc

index 2bc1a95..b300a62 100644 (file)
@@ -1,3 +1,12 @@
+2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
+
+       * testsuite/thread/pthread1.cc: Enable on cygwin.
+       * testsuite/thread/pthread2.cc: Likewise.
+       * testsuite/thread/pthread3.cc: Likewise.
+       * testsuite/thread/pthread4.cc: Likewise.
+       * testsuite/thread/pthread5.cc: Likewise.
+       * testsuite/thread/pthread6.cc: Likewise.
+
 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
 
        * testsuite/27_io/ostream_inserter_char.cc (test07): New. 
index f51881a..b8f5226 100644 (file)
@@ -18,7 +18,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
 
index 3ffba23..315393c 100644 (file)
@@ -19,7 +19,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
 
index d029f3b..4edb107 100644 (file)
@@ -19,7 +19,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
 
index b6d70c9..f8cd29d 100644 (file)
@@ -20,7 +20,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
 
@@ -36,7 +36,11 @@ using namespace std;
 static list<string> foo;
 static pthread_mutex_t fooLock = PTHREAD_MUTEX_INITIALIZER;
 static unsigned max_size = 10;
+#if defined(__CYGWIN__)
+static int iters = 10000;
+#else
 static int iters = 1000000;
+#endif
 
 void*
 produce (void*)
index fcd491d..6de9f41 100644 (file)
@@ -20,7 +20,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }
 
index d0bd82f..9f5a762 100644 (file)
@@ -19,7 +19,7 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 // USA.
 
-// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* } }
+// { dg-do run { target *-*-freebsd* *-*-linux* *-*-solaris* *-*-cygwin } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-linux* } }
 // { dg-options "-pthreads" { target *-*-solaris* } }