File: run-with-asan.sh

package info (click to toggle)
labwc 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,856 kB
  • sloc: ansic: 32,546; perl: 5,834; xml: 886; sh: 162; python: 131; makefile: 12
file content (9 lines) | stat: -rwxr-xr-x 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/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