depends.py: rename config_pl usage to config_py
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
22b959d9a5
commit
a44c5bcdb7
1 changed files with 7 additions and 7 deletions
|
@ -130,7 +130,7 @@ Remove the backup file if it was saved earlier."""
|
||||||
else:
|
else:
|
||||||
shutil.copy(options.config_backup, options.config)
|
shutil.copy(options.config_backup, options.config)
|
||||||
|
|
||||||
def run_config_pl(options, args):
|
def run_config_py(options, args):
|
||||||
"""Run scripts/config.py with the specified arguments."""
|
"""Run scripts/config.py with the specified arguments."""
|
||||||
cmd = ['scripts/config.py']
|
cmd = ['scripts/config.py']
|
||||||
if options.config != 'include/mbedtls/mbedtls_config.h':
|
if options.config != 'include/mbedtls/mbedtls_config.h':
|
||||||
|
@ -144,11 +144,11 @@ def set_reference_config(options):
|
||||||
The reference state is the one from which the tested configurations are
|
The reference state is the one from which the tested configurations are
|
||||||
derived."""
|
derived."""
|
||||||
# Turn off options that are not relevant to the tests and slow them down.
|
# Turn off options that are not relevant to the tests and slow them down.
|
||||||
run_config_pl(options, ['full'])
|
run_config_py(options, ['full'])
|
||||||
run_config_pl(options, ['unset', 'MBEDTLS_MEMORY_BACKTRACE'])
|
run_config_py(options, ['unset', 'MBEDTLS_MEMORY_BACKTRACE'])
|
||||||
run_config_pl(options, ['unset', 'MBEDTLS_MEMORY_BUFFER_ALLOC_C'])
|
run_config_py(options, ['unset', 'MBEDTLS_MEMORY_BUFFER_ALLOC_C'])
|
||||||
run_config_pl(options, ['unset', 'MBEDTLS_MEMORY_DEBUG'])
|
run_config_py(options, ['unset', 'MBEDTLS_MEMORY_DEBUG'])
|
||||||
run_config_pl(options, ['unset', 'MBEDTLS_TEST_HOOKS'])
|
run_config_py(options, ['unset', 'MBEDTLS_TEST_HOOKS'])
|
||||||
|
|
||||||
def collect_config_symbols(options):
|
def collect_config_symbols(options):
|
||||||
"""Read the list of settings from mbedtls_config.h.
|
"""Read the list of settings from mbedtls_config.h.
|
||||||
|
@ -198,7 +198,7 @@ If what is False, announce that the job has failed.'''
|
||||||
args = ['unset', key]
|
args = ['unset', key]
|
||||||
else:
|
else:
|
||||||
args = ['set', key, value]
|
args = ['set', key, value]
|
||||||
run_config_pl(options, args)
|
run_config_py(options, args)
|
||||||
|
|
||||||
def test(self, options):
|
def test(self, options):
|
||||||
'''Run the job's build and test commands.
|
'''Run the job's build and test commands.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue