qutest.py 7.3.3 crashes for tests on the embedded targets and in debug mode
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
Here is example of the generated output in an attempt to run test on an embedded target:
QUTest unit testing front-end 7.3.3 running on Python 3.10.1
Copyright (c) 2005-2024 Quantum Leaps, www.state-machine.com
Attaching to QSpy (localhost:7701)... OK
Run ID : 240321_091807
Target : remote
==================================[Group 1]==================================
test_init.py
[ 1]--------------------------------------------------------------------------
DPP init
Traceback (most recent call last):
File "C:\qp\qtools\qutest\qutest.py", line 830, in _run_script
QUTest_inst.exec_dsl(code)
File "C:\qp\qtools\qutest\qutest.py", line 211, in exec_dsl
exec(code, self._dsl_dict)
File "test_init.py", line 58, in <module>
test("DPP init")
File "C:\qp\qtools\qutest\qutest.py", line 262, in test
if not self._reset_target():
File "C:\qp\qtools\qutest\qutest.py", line 945, in _reset_target
Popen(QUTest._host_exe[0])
File "C:\qp\qtools\Python3\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\qp\qtools\Python3\lib\subprocess.py", line 1375, in _execute_child
args = list2cmdline(args)
File "C:\qp\qtools\Python3\lib\subprocess.py", line 561, in list2cmdline
for arg in map(os.fsdecode, seq):
TypeError: 'NoneType' object is not iterable
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ![ FAIL ( 0.0s) ]
Anonymous
Fixed in qutest.py 7.3.4 (github.com).
--MMS