File: disable-gmxtimingtests.patch

package info (click to toggle)
gromacs 2025.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 287,228 kB
  • sloc: xml: 3,718,478; cpp: 654,796; ansic: 75,282; python: 20,471; sh: 3,471; perl: 2,218; yacc: 644; fortran: 397; lisp: 265; makefile: 171; lex: 125; awk: 68; csh: 39
file content (26 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (2)
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
Description: Disable GmxTimingTests on mips64el
 GmxTimingTests segfaults within GTest on this architecture, regardless
 of optimization level.  Disable until resolved elsewhere.
Author: Nicholas Breen
Forwarded: not-needed
Last-Update: 2022-02-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: gromacs/src/gromacs/timing/tests/timing.cpp
===================================================================
--- gromacs.orig/src/gromacs/timing/tests/timing.cpp
+++ gromacs/src/gromacs/timing/tests/timing.cpp
@@ -54,6 +54,8 @@
 #include "testutils/refdata.h"
 #include "testutils/testasserts.h"
 
+#if !defined(__mips__)
+
 namespace gmx
 {
 namespace test
@@ -180,3 +182,4 @@ TEST_F(TimingTest, RunWallCycleSub)
 } // namespace
 } // namespace test
 } // namespace gmx
+#endif // architecture restriction on mips*