Commit 8b6e96e7 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

tests: Disable MALLOC_PERTURB when running pylint

parent e83b4556
Pipeline #620243 failed with stage
in 1 minute and 9 seconds
......@@ -44,6 +44,7 @@ add_global_arguments(common_cflags, language: 'c')
if get_option('pylint')
pylint = find_program('pylint-3', 'pylint3', 'pylint', required: true)
nomalloc = environment({'MALLOC_PERTURB_': '0'})
pylint_flags = ['-d', 'C0116', '-d', 'C0114', '-d', 'W0707', '-d', 'W0706' ]
endif
xmllint = find_program('xmllint', required: false)
......
......@@ -76,5 +76,6 @@ if get_option('pylint')
test('pylint-powerprofilesctl',
pylint,
args: pylint_flags + [ script ],
env: nomalloc,
)
endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment