diff options
author | Brad King <brad.king@kitware.com> | 2005-04-28 13:21:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-28 13:21:03 (GMT) |
commit | 91c254d7087421595c1ddef345e7a704dba70988 (patch) | |
tree | 6f9ca2dfe27762c0c24474d7d906a273004dde48 | |
parent | 234d08682cbddac2c13bb12bf5123d8d3e933ea7 (diff) | |
download | CMake-91c254d7087421595c1ddef345e7a704dba70988.zip CMake-91c254d7087421595c1ddef345e7a704dba70988.tar.gz CMake-91c254d7087421595c1ddef345e7a704dba70988.tar.bz2 |
BUG: Extending all timeouts to help out slower machines.
-rw-r--r-- | Source/kwsys/testProcess.c | 6 |
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]; |