1
0
espelhamento de https://git.tukaani.org/xz.git sincronizado 2026-03-18 07:38:03 +00:00

CI: Valgrind: Test with static liblzma

If shared liblzma is built, tests/test_* and src/xz/xz are wrapper
scripts created by Libtool. The wrappers set library search path
so that the freshly-built shared library is found.

With a static liblzma, no wrapper scripts are needed, and Libtool
places the real executables to the aforementioned locations. This
speeds up the tests under Valgrind dramatically.

Fixes: 6c095a98fbec ("ci: test Valgrind")
Esse commit está contido em:
Lasse Collin 2025-04-22 21:12:50 +03:00
commit f33da20b75
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 38EE757D69184620

Ver arquivo

@ -99,7 +99,7 @@ jobs:
- name: Build with Valgrind - name: Build with Valgrind
if: ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }} if: ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
run: ./build-aux/ci_build.bash -b autotools -p build -d sandbox run: ./build-aux/ci_build.bash -b autotools -p build -d shared,sandbox
- name: Test with Valgrind - name: Test with Valgrind
if: ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }} if: ${{ startsWith(matrix.os, 'ubuntu') && matrix.build_system == 'autotools' }}
run: | run: |