History

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.

Kacper Michajłow committed 1 year ago

Commit feef1bc1 parent 964017c2 files · +2 −1Browse files

Unified · Split

2 files
  1. .github/workflows/build.yml +1 −1
  2. .lsan_suppressions +1 −0
.github/workflows/build.yml+1−1
@@ -290,7 +290,6 @@ jobs: · 289 unmodified lines
290290 env:
291291 CC: "${{ matrix.config.cc }}"
292292 CXX: "${{ matrix.config.cxx }}"
293− ASAN_OPTIONS: "halt_on_error=1:abort_on_error=1:print_summary=1:detect_leaks=0"
294293 strategy:
295294 matrix:
296295 config:
@@ -318,6 +317,7 @@ jobs: · 21 unmodified lines
318317 - name: Run meson tests
319318 id: tests
320319 run: |
320+ export LSAN_OPTIONS="suppressions=${GITHUB_WORKSPACE}/.lsan_suppressions"
321321 meson test -C build
322322
323323 - name: Print meson test log
.lsan_suppressions+1−0
@@ -0,0 +1 @@
1+leak:FcFontSetSort

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t