]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CI: Speed up Valgrind job by using --trace-children-skip-by-arg=...
authorSam James <sam@gentoo.org>
Fri, 28 Jun 2024 11:18:35 +0000 (14:18 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 16:26:09 +0000 (19:26 +0300)
This addresses the issue I mentioned in
6c095a98fbec70b790253a663173ecdb669108c4 and speeds up the Valgrind
job a bit, because non-xz tools aren't run unnecessarily with
Valgrind by the script tests.

(cherry picked from commit 7e99856f66c07852c4e0de7aa01951e9147d86b0)

.github/workflows/ci.yml

index 253d7889e77cb1b822e8af5832ff4c88f5a21d27..cd8e2f08e8b391b293a9c5e00aa629043ee278f5 100644 (file)
@@ -96,7 +96,7 @@ jobs:
       - name: Test with Valgrind
         if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
         run: |
-            ./build-aux/ci_build.bash -b autotools -p test -d sandbox -w "valgrind --quiet --trace-children=yes --exit-on-first-error=yes --error-exitcode=1"
+            ./build-aux/ci_build.bash -b autotools -p test -d sandbox -w "valgrind --quiet --trace-children=yes --trace-children-skip-by-arg=ls,cp,sed,grep,bash,sh --exit-on-first-error=yes --error-exitcode=1"
             cd ../xz_build && make distclean
 
       - name: Build with musl libc