From 66baf0f95b3c0fc0b4e56e53cf8f69ff23645be8 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 27 Mar 2019 21:50:25 +0100 Subject: [PATCH] Run tests with ASAN enabled This may capture more errors (like e2ef39fae5ffb576cdc4d924cf0b67393138168d). --- release.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index ca632e00..31720f63 100755 --- a/release.sh +++ b/release.sh @@ -1,13 +1,18 @@ #!/bin/bash set -e -# build and test locally +# test locally +TESTDIR=build_test +rm -rf "$TESTDIR" +# run client tests with ASAN enabled +meson "$TESTDIR" -Db_sanitize=address +ninja -C"$TESTDIR" test + BUILDDIR=build_release rm -rf "$BUILDDIR" meson "$BUILDDIR" --buildtype release --strip -Db_lto=true cd "$BUILDDIR" ninja -ninja test cd - # build Windows releases