This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] Adjust timings of a test
- From: Paolo Carlini <pcarlini at suse dot de>
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 06 Feb 2004 12:45:02 +0100
- Subject: [v3] Adjust timings of a test
Hi,
I'm committing this obvious patchlet to both mainline and 3_4.
Tested x86-linux.
Paolo.
/////////////
2004-02-06 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/open/char/9507.cc:
Adjust timings.
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_filebuf/open/char/9507.cc libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_filebuf/open/char/9507.cc 2004-02-05 06:24:18.000000000 +0100
+++ libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc 2004-02-06 12:32:06.000000000 +0100
@@ -48,11 +48,13 @@
std::filebuf fbuf;
fbuf.open(name, std::ios_base::in);
fbuf.sgetc();
+ sleep(2);
fbuf.close();
exit(0);
}
std::filebuf fbuf;
+ sleep(1);
std::filebuf* r = fbuf.open(name,
std::ios_base::in
| std::ios_base::out