diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-06-22 17:18:16 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-06-27 14:36:12 +0200 |
commit | 285762d3e2348f08577cc6b9ac2be4ca30775b97 (patch) | |
tree | 840d0871abf78b620eb890f6e0bf6fa0c31c8aa9 /src | |
parent | aae02e1e5dfcb0100f460f0b622d16bac45d2165 (diff) | |
download | totem-285762d3e2348f08577cc6b9ac2be4ca30775b97.tar.gz |
build: Disable MALLOC_PERTURB_ when running pylint
By default, meson will set MALLOC_PERTURB_ to a non-zero value when
running tests, which had the effect of making a pylint run take 200
seconds instead of around 15.
Disabling that envvar makes the tests take a more reasonable amount of
time.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/opensubtitles/meson.build | 1 | ||||
-rw-r--r-- | src/plugins/pythonconsole/meson.build | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/opensubtitles/meson.build b/src/plugins/opensubtitles/meson.build index cd4858912..689722daf 100644 --- a/src/plugins/opensubtitles/meson.build +++ b/src/plugins/opensubtitles/meson.build @@ -43,5 +43,6 @@ if pylint.found() test('pylint-' + plugin_name, pylint, args: pylint_flags + ['-d', 'bad-continuation' ] + files([ plugin_name + '.py', 'hash.py' ]), + env: nomalloc, timeout: 120) endif diff --git a/src/plugins/pythonconsole/meson.build b/src/plugins/pythonconsole/meson.build index cf91c20d4..46c15a0fa 100644 --- a/src/plugins/pythonconsole/meson.build +++ b/src/plugins/pythonconsole/meson.build @@ -42,5 +42,6 @@ if pylint.found() test('pylint-' + plugin_name, pylint, args: pylint_flags + files([ plugin_name + '.py', 'console.py' ]), + env: nomalloc, timeout: 120) endif |