summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-28 13:21:03 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-28 13:21:03 (GMT)
commit91c254d7087421595c1ddef345e7a704dba70988 (patch)
tree6f9ca2dfe27762c0c24474d7d906a273004dde48 /Source/kwsys/testProcess.c
parent234d08682cbddac2c13bb12bf5123d8d3e933ea7 (diff)
downloadCMake-91c254d7087421595c1ddef345e7a704dba70988.zip
CMake-91c254d7087421595c1ddef345e7a704dba70988.tar.gz
CMake-91c254d7087421595c1ddef345e7a704dba70988.tar.bz2
BUG: Extending all timeouts to help out slower machines.
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r--Source/kwsys/testProcess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index 80f5880..905233f 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/testProcess.c
@@ -57,9 +57,9 @@ int test3(int argc, const char* argv[])
fflush(stdout);
fflush(stderr);
#if defined(_WIN32)
- Sleep(5000);
+ Sleep(15000);
#else
- sleep(5);
+ sleep(15);
#endif
fprintf(stdout, "Output after sleep on stdout from timeout test.\n");
fprintf(stderr, "Output after sleep on stderr from timeout test.\n");
@@ -293,7 +293,7 @@ int main(int argc, const char* argv[])
int values[6] = {0, 123, 1, 1, 0, 0};
int outputs[6] = {1, 1, 1, 1, 1, 0};
int delays[6] = {0, 0, 0, 0, 0, 1};
- double timeouts[6] = {3, 3, 3, 3, 30, 3};
+ double timeouts[6] = {10, 10, 10, 10, 30, 10};
int r;
const char* cmd[4];
cmd[0] = argv[0];