twister: pytest: Allow using pytest-args from command file and yaml
Extend pytest-args from configuration yaml file with args from command line instead of overwriting. Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
This commit is contained in:
parent
777be46e1a
commit
7cca59c81a
4 changed files with 7 additions and 9 deletions
|
@ -97,6 +97,8 @@ There are two ways for passing extra arguments to the called pytest subprocess:
|
|||
-s samples/subsys/testsuite/pytest/shell/sample.pytest.shell \
|
||||
--pytest-args='-k test_shell_print_version'
|
||||
|
||||
The command line arguments will extend those from the .yaml file. If the same argument is
|
||||
present in both places, the one from the command line will take precedence.
|
||||
|
||||
Fixtures
|
||||
********
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue