summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/ci/run8
-rw-r--r--contrib/ci/sssd.supp9
2 files changed, 15 insertions, 2 deletions
diff --git a/contrib/ci/run b/contrib/ci/run
index f5f84c448..68ec1aab4 100755
--- a/contrib/ci/run
+++ b/contrib/ci/run
@@ -18,7 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -o nounset -o pipefail -o errexit
-export PATH=`dirname "\`readlink -f \"\$0\"\`"`:$PATH
+declare -r CI_DIR=`dirname "\`readlink -f \"\$0\"\`"`
+export PATH=$CI_DIR:$PATH
export LC_ALL=C
. deps.sh
@@ -207,7 +208,10 @@ function build_debug()
--vgdb=no \
--trace-children=yes \
--trace-children-skip='*/bin/*,*/sbin/*' \
- --leak-check=full ||
+ --leak-check=full \
+ --gen-suppressions=all \
+ --suppressions="$CI_DIR/sssd.supp" \
+ --verbose ||
status=$?
mv "$test_dir" ci-test-dir
diff --git a/contrib/ci/sssd.supp b/contrib/ci/sssd.supp
new file mode 100644
index 000000000..d2541e895
--- /dev/null
+++ b/contrib/ci/sssd.supp
@@ -0,0 +1,9 @@
+#
+# Valgrind suppression patterns
+#
+# See an introduction to suppressions in Valgrind manual:
+# http://valgrind.org/docs/manual/manual-core.html#manual-core.suppress
+#
+# Each suppression name here must start with "sssd-" to differentiate it from
+# suppressions maintained elsewhere.
+#