public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-5654] libstdc++: Use longer timeout for istream::gcount() overflow tests
@ 2020-12-02 12:34 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-12-02 12:34 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:8b2c3b5af3da8d06a59276721263c7f326ed64fd

commit r11-5654-g8b2c3b5af3da8d06a59276721263c7f326ed64fd
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Dec 2 12:34:20 2020 +0000

    libstdc++: Use longer timeout for istream::gcount() overflow tests
    
    On targets with 32-bit poitners these tests do extra work, so give them
    longer to run.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/27_io/basic_istream/ignore/char/94749.cc: Add
            dg-timeout-factor for ilp32 targets.
            * testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc    | 1 +
 libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
index 21097c2bff1..63b652dc77b 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/94749.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run }
 // { dg-options "-DSIMULATOR_TEST" { target simulator } }
+// { dg-timeout-factor 2 { target ilp32 } }
 
 // PR libstdc++/94749
 // basic_istream::ignore(n, c) discards n+1 if next character is equal to c.
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
index 2473588d307..dcf0fee4906 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run }
 // { dg-options "-DSIMULATOR_TEST" { target simulator } }
+// { dg-timeout-factor 2 { target ilp32 } }
 
 // PR libstdc++/94749
 // basic_istream::ignore(n, c) discards n+1 if next character is equal to c.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-02 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 12:34 [gcc r11-5654] libstdc++: Use longer timeout for istream::gcount() overflow tests Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).