From: Karel Zak Date: Mon, 23 Aug 2021 13:15:38 +0000 (+0200) Subject: tests: make ./run.sh more robust X-Git-Tag: v2.38-rc1~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=331c5e0c54d9cb6f67dc3e825eec2d78c67d8ce6;p=thirdparty%2Futil-linux.git tests: make ./run.sh more robust Signed-off-by: Karel Zak --- diff --git a/tests/run.sh b/tests/run.sh index 9d26406c4a..d020bfe88a 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -165,7 +165,7 @@ OPTS="$OPTS --srcdir=$top_srcdir --builddir=$top_builddir" if [ -z "$has_asan_opt" ]; then if [ -e "$top_builddir/Makefile" ]; then asan=$(awk '/^ASAN_LDFLAGS/ { print $3 }' $top_builddir/Makefile) - else + elif [ -f "$top_builddir/meson.conf" ]; then . "$top_builddir/meson.conf" fi if [ -n "$asan" ]; then