chore: Set a timeout for tests started using Conan

This commit is contained in:
Robin Linden 2022-04-08 20:08:04 +02:00 committed by iphydf
parent c0ec33b168
commit 620e07ecd9
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -36,6 +36,7 @@ class ToxConan(ConanFile):
self._cmake = CMake(self) self._cmake = CMake(self)
self._cmake.definitions["AUTOTEST"] = self.options.with_tests self._cmake.definitions["AUTOTEST"] = self.options.with_tests
self._cmake.definitions["BUILD_MISC_TESTS"] = self.options.with_tests self._cmake.definitions["BUILD_MISC_TESTS"] = self.options.with_tests
self._cmake.definitions["TEST_TIMEOUT_SECONDS"] = "300"
self._cmake.definitions[ self._cmake.definitions[
"CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS"] = self.options.shared "CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS"] = self.options.shared