tests: make ./run.sh more robust
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
0c7e7cc4ec
commit
331c5e0c54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue