summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-11-30 21:08:11 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-11-30 21:08:11 (GMT)
commita52c0118d454ea9ec93a05be8be552d587467813 (patch)
treead6db52bca2066c2fbd9ad553a53a646cbe82cc5 /Source/cmCTest.h
parentb21f1eaeae274589945c4e2e3e77a7b39305ac0d (diff)
downloadCMake-a52c0118d454ea9ec93a05be8be552d587467813.zip
CMake-a52c0118d454ea9ec93a05be8be552d587467813.tar.gz
CMake-a52c0118d454ea9ec93a05be8be552d587467813.tar.bz2
Added the --timeout option to ctest command line. This sets a global timeout on all tests if no more specific timeout is set on them.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 210a61b..299dbc8 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -129,6 +129,9 @@ public:
std::string const& GetConfigType();
double GetTimeOut() { return this->TimeOut; }
void SetTimeOut(double t) { this->TimeOut = t; }
+
+ double GetGlobalTimeout() { return this->GlobalTimeout; }
+
// how many test to run at the same time
int GetParallelLevel() { return this->ParallelLevel; }
void SetParallelLevel(int);
@@ -419,6 +422,8 @@ private:
double TimeOut;
+ double GlobalTimeout;
+
int MaxTestNameWidth;
int ParallelLevel;