You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cirrus.yml
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ env:
5
5
ASM: no
6
6
BUILD: check
7
7
WITH_VALGRIND: yes
8
-
RUN_VALGRIND: no
9
8
EXTRAFLAGS:
10
9
HOST:
11
10
ECDH: no
@@ -162,9 +161,8 @@ task:
162
161
cpu: 1
163
162
memory: 1G
164
163
env:
165
-
QEMU_CMD: qemu-s390x
164
+
WRAPPER_CMD: qemu-s390x
166
165
HOST: s390x-linux-gnu
167
-
BUILD:
168
166
WITH_VALGRIND: no
169
167
ECDH: yes
170
168
RECOVERY: yes
@@ -185,9 +183,8 @@ task:
185
183
cpu: 1
186
184
memory: 1G
187
185
env:
188
-
QEMU_CMD: qemu-arm
186
+
WRAPPER_CMD: qemu-arm
189
187
HOST: arm-linux-gnueabihf
190
-
BUILD:
191
188
WITH_VALGRIND: no
192
189
ECDH: yes
193
190
RECOVERY: yes
@@ -209,9 +206,8 @@ task:
209
206
cpu: 1
210
207
memory: 1G
211
208
env:
212
-
QEMU_CMD: qemu-aarch64
209
+
WRAPPER_CMD: qemu-aarch64
213
210
HOST: aarch64-linux-gnu
214
-
BUILD:
215
211
WITH_VALGRIND: no
216
212
ECDH: yes
217
213
RECOVERY: yes
@@ -230,9 +226,8 @@ task:
230
226
cpu: 1
231
227
memory: 1G
232
228
env:
233
-
WINE_CMD: wine64-stable
229
+
WRAPPER_CMD: wine64-stable
234
230
HOST: x86_64-w64-mingw32
235
-
BUILD:
236
231
WITH_VALGRIND: no
237
232
ECDH: yes
238
233
RECOVERY: yes
@@ -260,7 +255,8 @@ task:
260
255
matrix:
261
256
- name: "Valgrind (memcheck)"
262
257
env:
263
-
RUN_VALGRIND: yes
258
+
# The `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
Copy file name to clipboardExpand all lines: ci/cirrus.sh
+5-32Lines changed: 5 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -29,45 +29,18 @@ file *tests* || true
29
29
file bench_*||true
30
30
file .libs/*||true
31
31
32
-
if [ -n"$BUILD" ]
33
-
then
34
-
make "$BUILD"
35
-
fi
36
-
37
-
if [ "$RUN_VALGRIND"="yes" ]
38
-
then
39
-
# the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (https://www.valgrind.org/docs/manual/manual-core.html)
40
-
valgrind --error-exitcode=42 ./tests 16
41
-
valgrind --error-exitcode=42 ./exhaustive_tests
42
-
fi
43
-
44
-
if [ -n"$QEMU_CMD" ]
45
-
then
46
-
$QEMU_CMD ./tests 16
47
-
$QEMU_CMD ./exhaustive_tests
48
-
fi
32
+
# This tells `make check` to wrap test invocations.
33
+
export LOG_COMPILER="$WRAPPER_CMD"
49
34
50
-
if [ -n"$WINE_CMD" ]
51
-
then
52
-
$WINE_CMD ./tests 16
53
-
$WINE_CMD ./exhaustive_tests
54
-
fi
35
+
make "$BUILD"
55
36
56
37
if [ "$BENCH"="yes" ]
57
38
then
58
39
# Using the local `libtool` because on macOS the system's libtool has nothing to do with GNU libtool
59
40
EXEC='./libtool --mode=execute'
60
-
if [ -n"$QEMU_CMD" ]
61
-
then
62
-
EXEC="$EXEC$QEMU_CMD"
63
-
fi
64
-
if [ "$RUN_VALGRIND"="yes" ]
65
-
then
66
-
EXEC="$EXEC valgrind --error-exitcode=42"
67
-
fi
68
-
if [ -n"$WINE_CMD" ]
41
+
if [ -n"$WRAPPER_CMD" ]
69
42
then
70
-
EXEC="$WINE_CMD"
43
+
EXEC="$EXEC$WRAPPER_CMD"
71
44
fi
72
45
# This limits the iterations in the benchmarks below to ITER iterations.
0 commit comments