summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildAndTestHandler.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-26 13:27:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-01-26 13:27:37 (GMT)
commitf343106b19eec139764dc965f9110f503aafbf9c (patch)
tree2ad40ae416e4db8bad3c005f4650ad4d2c56f61c /Source/CTest/cmCTestBuildAndTestHandler.h
parentb50fb70be8eb629083eb2ad2e0b413793bbdde06 (diff)
parente6a80ccfc440ac8dd5e9e5405744c2423560fc02 (diff)
downloadCMake-f343106b19eec139764dc965f9110f503aafbf9c.zip
CMake-f343106b19eec139764dc965f9110f503aafbf9c.tar.gz
CMake-f343106b19eec139764dc965f9110f503aafbf9c.tar.bz2
Merge topic 'ctest-chrono'
e6a80ccf Make use of std::chrono throughout every component ff62b005 CTest: add safe conversion from cmDuration to integer types 695951bc CTest: introduce cmDuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1592
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.h')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.h b/Source/CTest/cmCTestBuildAndTestHandler.h
index f8a9ed7..5e6d0aa 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.h
+++ b/Source/CTest/cmCTestBuildAndTestHandler.h
@@ -6,8 +6,8 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
+#include "cmDuration.h"
-#include <chrono>
#include <sstream>
#include <stddef.h>
#include <string>
@@ -68,7 +68,7 @@ protected:
std::vector<std::string> TestCommandArgs;
std::vector<std::string> BuildTargets;
bool BuildNoCMake;
- std::chrono::duration<double> Timeout;
+ cmDuration Timeout;
};
#endif