gplugin/builders

Parents d73602400dcc
Children 8224bdd81992
Some valgrind cleanups including the ability to use a local suppression file
--- a/valgrind/build.sh Wed Feb 26 05:58:51 2020 -0600
+++ b/valgrind/build.sh Thu Feb 27 03:57:00 2020 -0600
@@ -19,9 +19,6 @@
BUILD_DIR="build-valgrind"
-VALGRIND_COMMAND=<<EOF
-EOF
-
meson ${BUILD_DIR}
meson test -C ${BUILD_DIR} --wrapper valgrind-wrapper
EC=${?}
--- a/valgrind/valgrind-wrapper Wed Feb 26 05:58:51 2020 -0600
+++ b/valgrind/valgrind-wrapper Thu Feb 27 03:57:00 2020 -0600
@@ -1,8 +1,14 @@
#!/bin/sh -e
+LOCAL_SUPPRESSIONS=
+if [ -f ${CONVEY_WORKSPACE}/gplugin/share/valgrind/gplugin.supp ] ; then
+ LOCAL_SUPPRESSIONS="--suppressions=${CONVEY_WORKSPACE}/gplugin/share/valgrind/gplugin.supp"
+fi
+
valgrind \
--suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
--suppressions=/usr/share/doc/python3-devel/valgrind-python.supp \
+ ${LOCAL_SUPPRESSIONS} \
--leak-check=full \
--error-exitcode=1 \
$@