diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-11-19 00:17:59 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-11-20 13:56:48 +0200 |
commit | 656bc9c8bb2facd0ee0ac25543f50719a12d69d2 (patch) | |
tree | b87bc02689faf417edb4f4057a4d5472bf771190 /scripts | |
parent | 1b58e87f154bf7d3d5f38ef32cc4b171362f73a2 (diff) | |
download | qtlocation-mapboxgl-656bc9c8bb2facd0ee0ac25543f50719a12d69d2.tar.gz |
[build] Run Valgrind instead of Memory Sanitizer
Memory Sanitizer requires all the dependencies, including
libstdc++ to be compiled with Memory Sanitizer, otherwise
we will get tons of false positives.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ci/Dockerfile | 3 | ||||
-rw-r--r-- | scripts/valgrind.sup | 64 |
2 files changed, 4 insertions, 63 deletions
diff --git a/scripts/ci/Dockerfile b/scripts/ci/Dockerfile index 09ae07997d..17236f3fb4 100644 --- a/scripts/ci/Dockerfile +++ b/scripts/ci/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /src COPY etc/apt/sources.list /etc/apt RUN set -eu \ - && apt-get update\ + && apt-get update \ && apt-get dist-upgrade -y # CI requirements @@ -38,6 +38,7 @@ RUN set -eu && apt-get install -y \ pkg-config \ python3-pip \ software-properties-common \ + valgrind \ xvfb RUN pip3 install cmake-format==0.5.5 diff --git a/scripts/valgrind.sup b/scripts/valgrind.sup index 09e2f6685c..04cf7a92de 100644 --- a/scripts/valgrind.sup +++ b/scripts/valgrind.sup @@ -1,5 +1,5 @@ { - Graphics driver bugs + Valgrind x Mesa Memcheck:Cond ... obj:*/swrast_dri.* @@ -8,7 +8,7 @@ ... } { - Graphics driver bugs + Valgrind x Mesa Memcheck:Value8 ... obj:*/swrast_dri.* @@ -16,63 +16,3 @@ obj:*/swrast_dri.* ... } -{ - Ubuntu 16.04 - Mysterious leak when running utests - Memcheck:Leak - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - Qt5 - Memcheck:Cond - ... - obj:*/libQt5Core.* - ... -} -{ - Qt5 - Memcheck:Value8 - ... - obj:*/libQt5Core.* - ... -} -{ - Qt5 - Memcheck:Cond - ... - obj:*/libQt5Gui.* - ... -} -{ - Qt5 - Memcheck:Value8 - ... - obj:*/libQt5Gui.* - ... -} -{ - mapbox::pixelmatch - Memcheck:Cond - ... - fun:_ZN6mapbox10pixelmatchEPKhS1_mmPhdb - ... -} -{ - util::write_file - Memcheck:Param - write(buf) - ... - obj:*/libc-* - fun:_ZN4mbgl4util10write_fileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ - ... -} |