libxdg-basedir/libxdg-basedir-valgrind-libtool.patch

12 lines
394 B
Diff
Raw Normal View History

2019-02-12 15:21:48 +00:00
--- a/tests/query-harness.sh
+++ b/tests/query-harness.sh
@@ -10,7 +10,7 @@ fi
testquery="${top_builddir}/tests/testquery"
if [ -n "$USE_VALGRIND" ] && (type valgrind 1>/dev/null)
then
- output="`valgrind -q --error-exitcode=1 "$testquery" $arguments`"
2019-02-13 17:33:38 +00:00
+ output="`libtool --mode=execute valgrind -q --error-exitcode=1 "$testquery" $arguments`"
2019-02-12 15:21:48 +00:00
else
output="`"$testquery" $arguments`"
fi