Better command-line option handling for tests.
[alexxy/gromacs.git] / cmake / legacy_and_external.supp
1 # This suppression file is used to run the CTest Unit Tests
2 # All problems in external libraries are excluded
3 # Memory leaks in the legacy code are excluded
4 # Other problems besides memory leaks should NOT be excluded for legacy code
5
6 {
7    libz
8    Memcheck:Cond
9    fun:inflateReset2
10    fun:inflateInit2_
11 }
12
13 {
14    gmx_fio_fopen
15    Memcheck:Leak
16    ...
17    fun:gmx_fio_fopen
18 }
19 {
20    new_symbuf
21    Memcheck:Leak
22    ...
23    fun:new_symbuf
24 }
25 {
26    bTimeSet/tMPI_Thread_mutex_init_once
27    Memcheck:Leak
28    ...
29    fun:tMPI_Thread_mutex_init_once
30    fun:tMPI_Thread_mutex_lock
31    fun:bTimeSet
32 }
33 {
34    ffclose/tMPI_Thread_mutex_init_once
35    Memcheck:Leak
36    ...
37    fun:tMPI_Thread_mutex_init_once
38    fun:tMPI_Thread_mutex_lock
39    fun:ffclose
40 }
41
42 {
43    mdrun
44    Memcheck:Leak
45    ...
46    obj:*/mdrun*
47 }
48
49 {
50    strdup/strtod
51    Memcheck:Addr8
52    fun:__GI___strncasecmp_l
53    fun:____strtod_l_internal
54 }
55
56
57 #MacOS rules
58 {
59    dyld_register_image_state_change_handler
60    Memcheck:Leak
61    fun:malloc
62    fun:malloc
63    ...
64    fun:dyld_register_image_state_change_handler
65 }
66
67 {
68    __emutls_get_address
69    Memcheck:Leak
70    ...
71    fun:__emutls_get_address
72 }
73
74 {
75    libSystem_initializer
76    Memcheck:Leak
77    ...
78    fun:libSystem_initializer
79 }
80
81 {
82    atexit
83    Memcheck:Leak
84    fun:malloc
85    fun:atexit_register
86 }
87
88 {
89    unw_set_reg
90    Memcheck:Leak
91    ...
92    fun:unw_set_reg
93    fun:__gxx_personality_v0
94 }
95
96 {
97    printf
98    Memcheck:Leak
99    fun:malloc
100    ...
101    fun:__vfprintf
102 }
103
104 {
105    strtof
106    Memcheck:Leak
107    fun:malloc
108    ...
109    fun:strtof_l
110 }
111
112 {
113    scanf
114    Memcheck:Leak
115    ...
116    fun:__svfscanf_l
117 }
118
119 {
120    __cxa_get_globals
121    Memcheck:Leak
122    fun:malloc
123    fun:__cxa_get_globals
124 }
125 {
126    __cxa_get_globals
127    Memcheck:Leak
128    fun:calloc
129    fun:__cxa_get_globals
130    fun:__cxa_throw
131 }
132
133 {
134    _Unwind_RaiseException
135    Memcheck:Leak
136    fun:malloc
137    ...
138    fun:_Unwind_RaiseException
139    fun:__cxa_throw
140 }
141 {
142    posix_memalign
143    Memcheck:Leak
144    ...
145    fun:posix_memalign
146 }
147
148 # Intel compiler on MacOS
149 {
150    __cilkrts_os_mutex_create
151    Memcheck:Leak
152    fun:malloc
153    fun:__cilkrts_os_mutex_create
154 }
155 # Intel compiler with MKL
156 {
157    dlerror
158    Memcheck:Leak
159    ...
160    fun:_dlerror_run
161 }
162 #Intel
163 {
164    strlen
165    Memcheck:Addr8
166    fun:__intel_sse2_strlen
167 }
168 {
169    strlen2
170    Memcheck:Cond
171    fun:__intel_sse2_strlen
172 }
173 {
174    __kmpc_global_thread_num
175    Memcheck:Param
176    sched_setaffinity(mask)
177    ...
178    fun:__kmpc_global_thread_num
179 }
180 {
181    __kmpc_global_thread_num2
182    Memcheck:Cond
183    ...
184    fun:__kmpc_global_thread_num
185 }
186 {
187    __kmpc_global_thread_num3
188    Memcheck:Leak
189    ...
190    fun:__kmpc_global_thread_num
191 }