From 829fa09a262cb79e95975d8942c8e406c008397f Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com> Date: Wed, 30 Jun 2010 11:23:19 -0400 Subject: [PATCH 1/2] KWSys: Use short fallback timeout for Process tests If any of the KWSys Process tests take more than a minute or two then something is wrong. There is no need to wait for a long default timeout. --- Source/kwsys/CMakeLists.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 083629a..bdf6613 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -1097,6 +1097,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) FOREACH(n 1 2 3 4 5 6 ${KWSYS_TEST_PROCESS_7}) ADD_TEST(kwsys.testProcess-${n} ${EXEC_DIR}/${KWSYS_NAMESPACE}TestProcess ${n}) KWSYS_SET_PROPERTY(TEST kwsys.testProcess-${n} PROPERTY LABELS ${KWSYS_LABELS_TEST}) + SET_TESTS_PROPERTIES(kwsys.testProcess-${n} PROPERTIES TIMEOUT 120) ENDFOREACH(n) # Some Apple compilers produce bad optimizations in this source. -- 1.7.0
This commit is contained in:
parent
b65cd9b70b
commit
c00e4ac3f0
|
@ -1097,6 +1097,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
|
|||
FOREACH(n 1 2 3 4 5 6 ${KWSYS_TEST_PROCESS_7})
|
||||
ADD_TEST(kwsys.testProcess-${n} ${EXEC_DIR}/${KWSYS_NAMESPACE}TestProcess ${n})
|
||||
KWSYS_SET_PROPERTY(TEST kwsys.testProcess-${n} PROPERTY LABELS ${KWSYS_LABELS_TEST})
|
||||
SET_TESTS_PROPERTIES(kwsys.testProcess-${n} PROPERTIES TIMEOUT 120)
|
||||
ENDFOREACH(n)
|
||||
|
||||
# Some Apple compilers produce bad optimizations in this source.
|
||||
|
|
Loading…
Reference in New Issue