From b7f6bea5694794c610f4afc2790a2f38e6b5f7d5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 21 May 2015 18:03:24 +0200 Subject: [PATCH] suppress zlib bugs on Travix boxen --- s/travis-build | 2 +- tests/ubuntu-12_04.supp | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tests/ubuntu-12_04.supp diff --git a/s/travis-build b/s/travis-build index 3cb32c857..4724d04b0 100755 --- a/s/travis-build +++ b/s/travis-build @@ -25,7 +25,7 @@ make test_valgrind_report () { cd tests ln -sf ../scripts/config.lua -valgrind --gen-suppressions=all --error-exitcode=1 $BUILD/eressea/eressea -v0 -t184 ../scripts/reports.lua +valgrind --suppressions=ubuntu-12_04.supp --error-exitcode=1 $BUILD/eressea/eressea -v0 -t184 ../scripts/reports.lua } test_unittests() { diff --git a/tests/ubuntu-12_04.supp b/tests/ubuntu-12_04.supp new file mode 100644 index 000000000..29862fa2b --- /dev/null +++ b/tests/ubuntu-12_04.supp @@ -0,0 +1,16 @@ +{ + zlib1g-dev-1:1.2.3.4.dfsg + Memcheck:Cond + fun:inflateReset2 + fun:inflateInit2_ + obj:/usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 + fun:__libxml2_xzread + obj:/usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 + fun:xmlParserInputBufferGrow + fun:xmlParserInputGrow + obj:/usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 + fun:xmlParseDocument + obj:/usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 + fun:read_xml + fun:init_data +}