Skip to content

Commit

Permalink
ci: speed up Valgrind job by using --trace-children-skip-by-arg=...
Browse files Browse the repository at this point in the history
This addresses the issue I mentioned in 6c095a9
and speeds up the Valgrind job a bit, because non-xz tools aren't run
unnecessarily with Valgrind by the script tests.
  • Loading branch information
thesamesam committed Apr 25, 2024
1 parent bf467a3 commit a1e7337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,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 -m "${{ matrix.compiler }}" -f "-gdwarf-4" -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 -m "${{ matrix.compiler }}" -f "-gdwarf-4" -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
Expand Down

0 comments on commit a1e7337

Please sign in to comment.