[Cmake-commits] [cmake-commits] king committed testProcess.c 1.36 1.37

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jan 9 11:44:48 EST 2009


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv24945/Source/kwsys

Modified Files:
	testProcess.c 
Log Message:
ENH: Extend kwsys.testProcess-4 timeout

The test is supposed to terminate quickly when its child crashes, but
that seems to take over 10s on busy systems.  This extends the test's
timeout to 30s to help it pass when running on a busy system.


Index: testProcess.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/testProcess.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C 2 -d -r1.36 -r1.37
*** testProcess.c	22 Sep 2008 18:05:13 -0000	1.36
--- testProcess.c	9 Jan 2009 16:44:46 -0000	1.37
***************
*** 458,462 ****
      int outputs[8] = {1, 1, 1, 1, 1, 0, 1, 1};
      int delays[8] = {0, 0, 0, 0, 0, 1, 0, 0};
!     double timeouts[8] = {10, 10, 10, 10, 30, 10, -1, 10};
      int polls[8] = {0, 0, 0, 0, 0, 0, 1, 0};
      int repeat[8] = {2, 1, 1, 1, 1, 1, 1, 1};
--- 458,462 ----
      int outputs[8] = {1, 1, 1, 1, 1, 0, 1, 1};
      int delays[8] = {0, 0, 0, 0, 0, 1, 0, 0};
!     double timeouts[8] = {10, 10, 10, 30, 30, 10, -1, 10};
      int polls[8] = {0, 0, 0, 0, 0, 0, 1, 0};
      int repeat[8] = {2, 1, 1, 1, 1, 1, 1, 1};



More information about the Cmake-commits mailing list