Skip to content

Commit 916b01a

Browse files
Merge pull request labgrid-project#447 from bhargavthriler/master
added '-s' option in example command
2 parents cf3b5ab + 55cc233 commit 916b01a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

doc/configuration.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,10 @@ control is available.
21212121

21222122
The driver's name will be displayed during interaction.
21232123

2124+
.. note::
2125+
When using the ManualPowerDriver with pytest, use ``-s``/``--capture=no`` to
2126+
prevent stdout capturing.
2127+
21242128
Binds to:
21252129
- None
21262130

@@ -2486,6 +2490,10 @@ the target.
24862490
This can be used if a driver binds to a :any:`DigitalOutputProtocol`, but no
24872491
automatic control is available.
24882492

2493+
.. note::
2494+
When using the ManualSwitchDriver with pytest, use ``-s``/``--capture=no`` to
2495+
prevent stdout capturing.
2496+
24892497
Binds to:
24902498
- None
24912499

doc/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ your board (manually) and run your first test:
145145

146146
.. code-block:: bash
147147
148-
labgrid-venv $ pytest --lg-env local.yaml test_shell.py
148+
labgrid-venv $ pytest --lg-env local.yaml --capture=no test_shell.py
149149
150150
It should return successfully, in case it does not, open an `Issue
151151
<https://github.com/labgrid-project/labgrid/issues>`_.

0 commit comments

Comments
 (0)