diff options
| author | Julian Andres Klode <jak@debian.org> | 2024-11-11 15:28:27 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2024-11-11 15:28:27 +0000 |
| commit | aefccbe09722c6a7a0911cb882622c96215eeec2 (patch) | |
| tree | e19e12bd61ba8767915604129831948184532f7b /test/integration/framework | |
| parent | f4e0e9daf221e840e122b0ffa97007aa512020a6 (diff) | |
| parent | d20575e93c38afb15fbc3e3bfc5e0e6a3903c299 (diff) | |
Merge branch 'stdarray' into 'main'
Fold char[APT_BUFFER_SIZE] and unique_ptr<char, APT_BUFFER_SIZE> into std::array<char, APT_BUFFER_SIZE>
See merge request apt-team/apt!386
Diffstat (limited to 'test/integration/framework')
| -rw-r--r-- | test/integration/framework | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework index 477aebd39..e054b4209 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -256,7 +256,12 @@ valgrind() { if [ "${CMD##*/}" = "$CMD" ]; then CMD="${APTCMDLINEBINDIR}/${CMD}" fi - runapt command valgrind -q --error-exitcode=7 "$CMD" "$@" + if command -v valgrind > /dev/null; then + runapt command valgrind -q --error-exitcode=7 "$CMD" "$@" + else + msgdebug "Running without valgrind" + runapt command "$CMD" "$@" + fi } lastmodification() { |
