[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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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_
|
||||
...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user