mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
d49f3291ad
It's cleaner if this is an build option rather than being kludged into the CI layer. Notably we can't use `LD_PRELOAD` anymore with ASAN, so update our tests to check for `ASAN_OPTIONS`.
12 lines
296 B
Bash
Executable File
12 lines
296 B
Bash
Executable File
#!/usr/bin/bash
|
|
# Build with ASAN and UBSAN + unit tests.
|
|
|
|
set -xeuo pipefail
|
|
|
|
dn=$(dirname $0)
|
|
. ${dn}/libbuild.sh
|
|
# We leak global state in a few places, fixing that is hard.
|
|
export ASAN_OPTIONS='detect_leaks=0'
|
|
build --disable-gtk-doc --with-curl --with-openssl --enable-sanitizers
|
|
make check
|