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
290 env:290 env:
291 CC: "${{ matrix.config.cc }}"291 CC: "${{ matrix.config.cc }}"
292 CXX: "${{ matrix.config.cxx }}"292 CXX: "${{ matrix.config.cxx }}"
293 ASAN_OPTIONS: "halt_on_error=1:abort_on_error=1:print_summary=1:detect_leaks=0"
294 strategy:293 strategy:
295 matrix:294 matrix:
296 config:295 config:
@@ -318,6 +317,7 @@ jobs: · 21 unmodified lines
318 - name: Run meson tests317 - name: Run meson tests
319 id: tests318 id: tests
320 run: |319 run: |
320 export LSAN_OPTIONS="suppressions=${GITHUB_WORKSPACE}/.lsan_suppressions"
321 meson test -C build321 meson test -C build
322 322
323 - name: Print meson test log323 - name: Print meson test log
.lsan_suppressions+1−0
@@ -0,0 +1 @@
1leak: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