Skip to content

Commit

Permalink
.cirrus.yml: Fix reporting of test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
octo committed Nov 26, 2023
1 parent eb02259 commit 93ec41f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ debian_default_toolchain_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log || false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)
- /checks/check-built-plugins.sh

###
Expand Down Expand Up @@ -79,7 +79,7 @@ redhat_default_toolchain_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log || false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)
- /checks/check-built-plugins.sh


Expand Down Expand Up @@ -111,7 +111,7 @@ non_standard_toolchains_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log || false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)

# build against libstatgrab, should always pass
- env:
Expand Down Expand Up @@ -176,7 +176,7 @@ non_standard_toolchains_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log || false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)

###
# Build using a range of compilers, available in debian/unstable. NB: might
Expand Down Expand Up @@ -208,7 +208,7 @@ bleeding_edge_compilers_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log || false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)

freebsd_task:
freebsd_instance:
Expand All @@ -228,4 +228,4 @@ freebsd_task:
build_script:
- make -j$(nproc) -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || cat ./test-suite.log && false
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j$(nproc) -sk check || (cat ./test-suite.log && false)

0 comments on commit 93ec41f

Please sign in to comment.