commit | 34f5048e45634128d0d71e8087a0f3c786a5ea72 | [log] [tgz] |
---|---|---|
author | Marco Poletti <poletti.marco@gmail.com> | Tue Dec 01 23:14:12 2015 +0100 |
committer | Marco Poletti <poletti.marco@gmail.com> | Tue Dec 01 23:14:12 2015 +0100 |
tree | 71756dd4198a091b198fcc35523b97f0b550b316 | |
parent | 0d2cef0bee989bcc08c60f06ae9ee839ac7a4634 [diff] [blame] |
Set the test timeout in CTest instead of using `timeout' directly.
diff --git a/CMakeLists.txt b/CMakeLists.txt index e9c10c6..11b211d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -31,6 +31,7 @@ set(FRUIT_VERSION "1.0.2") enable_testing() +set(CTEST_TEST_TIMEOUT 20 CACHE STRING "Maximum test time, before CTest will kill the test." FORCE) add_subdirectory(src)