Skip to content

Commit 6196c59

Browse files
committed
DNM testing
Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 1e841e3 commit 6196c59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

samples/boards/nordic/coresight_stm/pytest/test_stm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ def _nrfutil_dictionary_from_serial(
138138
try:
139139
# run nrfutil trace in background non-blocking
140140
logger.info(f"Executing:\n{cmd}")
141-
proc = subprocess.Popen(cmd.split(), stdout=subprocess.DEVNULL)
141+
proc = subprocess.run(cmd.split(), shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
142+
logger.info(f'out: {proc.stdout}\n')
143+
logger.info(f'err: {proc.stderr}\n')
142144
except OSError as exc:
143145
logger.error(f"Unable to start nrfutil trace:\n{cmd}\n{exc}")
144146
try:

0 commit comments

Comments
 (0)