mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
...so suppress errors from ASAN with EGL renderer. Also add a script to simplify running with sanitizer and this suppression file. Related-to: #2331
9 lines
265 B
Bash
Executable file
9 lines
265 B
Bash
Executable file
#!/bin/sh
|
|
|
|
: ${BUILD_DIR="build"}
|
|
|
|
[ -d "${BUILD_DIR}" ] || meson setup "${BUILD_DIR}"
|
|
meson configure -Db_sanitize=address,undefined "${BUILD_DIR}"
|
|
ninja -C "${BUILD_DIR}"
|
|
LSAN_OPTIONS=suppressions=scripts/asan_leak_suppressions "${BUILD_DIR}/labwc" -d 2>log.txt
|
|
|