Description: Extend timeout for mdrun tests
 Slower autobuilders may timeout on the mdrun tests, particularly on double
 precision runs - extending the timeout modestly allows them to pass.
Origin: vendor
Forwarded: not-needed
Last-Update: 2018-10-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: gromacs/src/testutils/TestMacros.cmake
===================================================================
--- gromacs.orig/src/testutils/TestMacros.cmake
+++ gromacs/src/testutils/TestMacros.cmake
@@ -298,13 +298,13 @@ function (gmx_register_gtest_test NAME E
             if (GMX_GPU_OPENCL OR GMX_GPU_SYCL)
                 set(_timeout 240)
             elseif (${CMAKE_BUILD_TYPE} STREQUAL TSAN)
-                set(_timeout 300)
+                set(_timeout 1200)
             else()
-                set(_timeout 120)
+                set(_timeout 600)
             endif()
         elseif (ARG_SLOW_TEST)
             list(APPEND _labels SlowTest)
-            set(_timeout 480)
+            set(_timeout 1920)
         else()
             list(APPEND _labels UnitTest)
             gmx_get_test_prefix_cmd(_prefix_cmd)
