File: mdrun-test-timeout.patch

package info (click to toggle)
gromacs 2025.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 287,216 kB
  • sloc: xml: 3,718,478; cpp: 654,748; ansic: 75,282; python: 20,471; sh: 3,470; perl: 2,218; yacc: 644; fortran: 397; lisp: 265; makefile: 171; lex: 125; awk: 68; csh: 39
file content (29 lines) | stat: -rw-r--r-- 1,158 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)