mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 13:41:24 +00:00
sqlite: adding global aliases to params
Adding global aliases to parameters to fix old configs that still used the deprecated "<ext name>_<param name>" format for specifying parameter values.
This commit is contained in:
parent
d775be25f7
commit
cbf7eadc6c
@ -86,6 +86,7 @@ class SqliteResultProcessor(ResultProcessor):
|
|||||||
name = 'sqlite'
|
name = 'sqlite'
|
||||||
parameters = [
|
parameters = [
|
||||||
Parameter('database', default=None,
|
Parameter('database', default=None,
|
||||||
|
global_alias='sqlite_database',
|
||||||
description=""" Full path to the sqlite database to be used. If this is not specified then
|
description=""" Full path to the sqlite database to be used. If this is not specified then
|
||||||
a new database file will be created in the output directory. This setting can be
|
a new database file will be created in the output directory. This setting can be
|
||||||
used to accumulate results from multiple runs in a single database. If the
|
used to accumulate results from multiple runs in a single database. If the
|
||||||
@ -98,6 +99,7 @@ class SqliteResultProcessor(ResultProcessor):
|
|||||||
the home reference ~.
|
the home reference ~.
|
||||||
"""),
|
"""),
|
||||||
Parameter('overwrite', kind=boolean, default=False,
|
Parameter('overwrite', kind=boolean, default=False,
|
||||||
|
global_alias='sqlite_overwrite',
|
||||||
description="""If ``True``, this will overwrite the database file
|
description="""If ``True``, this will overwrite the database file
|
||||||
if it already exists. If ``False`` (the default) data
|
if it already exists. If ``False`` (the default) data
|
||||||
will be added to the existing file (provided schema
|
will be added to the existing file (provided schema
|
||||||
|
Loading…
x
Reference in New Issue
Block a user