diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2002-01-25 16:05:48 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2002-01-25 16:05:48 +0000 |
commit | a68d024dfcfb284d0ab6ce809f1ff691049a893b (patch) | |
tree | d73e96c9277364275eea6f9fa370d98dbdd394d7 | |
parent | 55492b32d768d06b1fee8bcade2ac198c3b8aee4 (diff) | |
download | gcc-a68d024dfcfb284d0ab6ce809f1ff691049a893b.zip gcc-a68d024dfcfb284d0ab6ce809f1ff691049a893b.tar.gz gcc-a68d024dfcfb284d0ab6ce809f1ff691049a893b.tar.bz2 |
pthread1.cc: Enable on cygwin.
* 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.
From-SVN: r49214
-rw-r--r-- | libstdc++-v3/ChangeLog | 9 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread1.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread2.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread3.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread4.cc | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread5.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/thread/pthread6.cc | 2 |
7 files changed, 19 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2bc1a95..b300a62 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc index f51881a..b8f5226 100644 --- a/libstdc++-v3/testsuite/thread/pthread1.cc +++ b/libstdc++-v3/testsuite/thread/pthread1.cc @@ -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* } } diff --git a/libstdc++-v3/testsuite/thread/pthread2.cc b/libstdc++-v3/testsuite/thread/pthread2.cc index 3ffba23..315393c 100644 --- a/libstdc++-v3/testsuite/thread/pthread2.cc +++ b/libstdc++-v3/testsuite/thread/pthread2.cc @@ -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* } } diff --git a/libstdc++-v3/testsuite/thread/pthread3.cc b/libstdc++-v3/testsuite/thread/pthread3.cc index d029f3b..4edb107 100644 --- a/libstdc++-v3/testsuite/thread/pthread3.cc +++ b/libstdc++-v3/testsuite/thread/pthread3.cc @@ -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* } } diff --git a/libstdc++-v3/testsuite/thread/pthread4.cc b/libstdc++-v3/testsuite/thread/pthread4.cc index b6d70c9..f8cd29d 100644 --- a/libstdc++-v3/testsuite/thread/pthread4.cc +++ b/libstdc++-v3/testsuite/thread/pthread4.cc @@ -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*) diff --git a/libstdc++-v3/testsuite/thread/pthread5.cc b/libstdc++-v3/testsuite/thread/pthread5.cc index fcd491d..6de9f41 100644 --- a/libstdc++-v3/testsuite/thread/pthread5.cc +++ b/libstdc++-v3/testsuite/thread/pthread5.cc @@ -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* } } diff --git a/libstdc++-v3/testsuite/thread/pthread6.cc b/libstdc++-v3/testsuite/thread/pthread6.cc index d0bd82f..9f5a762 100644 --- a/libstdc++-v3/testsuite/thread/pthread6.cc +++ b/libstdc++-v3/testsuite/thread/pthread6.cc @@ -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* } } |