summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-06-23 17:27:22 +0200
committerBastien Nocera <hadess@hadess.net>2022-06-23 17:27:22 +0200
commit96882d211efcebc43decad25406ed6de37394ea5 (patch)
tree46d32b5d6685be4a1db47d52cbb9428479400a30
parent5eb41af0aef2f6a99d9a136163de1699ac266e63 (diff)
downloadlibgweather-wip/hadess/faster-pylint.tar.gz
tests: Disable MALLOC_PERTURB when running pylintwip/hadess/faster-pylint
-rw-r--r--data/meson.build1
-rw-r--r--meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/meson.build b/data/meson.build
index 00c868d..c4d6445 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -19,6 +19,7 @@ if pylint.found()
pylint_flags,
gen_locations_variant.full_path(),
],
+ env: nomalloc,
suite: ['lint'],
)
endif
diff --git a/meson.build b/meson.build
index d38d8a9..dedca45 100644
--- a/meson.build
+++ b/meson.build
@@ -39,6 +39,7 @@ LOCATIONS_GETTEXT_PACKAGE = libgweather_full_version + '-locations'
c_compiler = meson.get_compiler('c')
pylint = find_program('pylint-3', 'pylint3', 'pylint', required: false)
+nomalloc = environment({'MALLOC_PERTURB_': '0'})
pylint_flags = [
'-d', 'C0111',
'-d', 'W0511',