mirror of
https://github.com/mpv-player/mpv
synced 2025-05-01 10:07:24 +02:00
ci/linux: enable leak detector
The leak detector has been disabled due to a libass leak that was causing the test to fail. I initially expected this change to be temporary until a patch release of libass became available and we could update it. However, it has been a few months without a release. Instead of waiting, re-enable the leak detector and add a suppression file for this specific leak. Fixes: d6eb85bb1a027aa52a7f48b162757763c9dcc875
This commit is contained in:
parent
964017c06c
commit
feef1bc02b
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -290,7 +290,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CC: "${{ matrix.config.cc }}"
|
CC: "${{ matrix.config.cc }}"
|
||||||
CXX: "${{ matrix.config.cxx }}"
|
CXX: "${{ matrix.config.cxx }}"
|
||||||
ASAN_OPTIONS: "halt_on_error=1:abort_on_error=1:print_summary=1:detect_leaks=0"
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
@ -318,6 +317,7 @@ jobs:
|
|||||||
- name: Run meson tests
|
- name: Run meson tests
|
||||||
id: tests
|
id: tests
|
||||||
run: |
|
run: |
|
||||||
|
export LSAN_OPTIONS="suppressions=${GITHUB_WORKSPACE}/.lsan_suppressions"
|
||||||
meson test -C build
|
meson test -C build
|
||||||
|
|
||||||
- name: Print meson test log
|
- name: Print meson test log
|
||||||
|
1
.lsan_suppressions
Normal file
1
.lsan_suppressions
Normal file
@ -0,0 +1 @@
|
|||||||
|
leak:FcFontSetSort
|
Loading…
x
Reference in New Issue
Block a user