This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]