[libgweather/wip/hadess/faster-pylint] tests: Disable MALLOC_PERTURB when running pylint
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/wip/hadess/faster-pylint] tests: Disable MALLOC_PERTURB when running pylint
- Date: Thu, 23 Jun 2022 15:27:52 +0000 (UTC)
commit 96882d211efcebc43decad25406ed6de37394ea5
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 23 17:27:22 2022 +0200
tests: Disable MALLOC_PERTURB when running pylint
data/meson.build | 1 +
meson.build | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 00c868dd..c4d6445a 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 d38d8a9d..dedca453 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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]