89475e72f7
testrunner: spawnu 'make term' with 'codec_errors="replace"'
2018-04-11 22:42:12 +02:00
58ab6dd3fe
dist/tools/testrunner: fix flake8 remaining issues
2017-12-20 13:34:52 +01:00
Gaëtan Harter
58f6df24cd
dist/tools/testrunner: Make started wait time configurable
...
The wait before board is started is 3 by default but can be overwritten by
setting 'TESTRUNNER_START_WAIT' environment variable.
2017-12-04 15:10:30 +01:00
Hauke Petersen
2ead5ef3a0
tools/testrunner: minor code beautifications
2017-11-30 10:34:37 +01:00
Martine Lenders
410778303e
testrunner: make traceback extraction downwards-compatible
...
The object-like access to frame information in the traceback was only
introduced in Python 3.5. Before that version it was a 4-tuple [[1]].
The indexed way to access the frame seems to be upwards-compatible for
newer versions (tested with python 3.5, maybe some of the Arch crew can
test with even newer versions), so I used that one.
[1]: https://docs.python.org/3.4/library/traceback.html#traceback.extract_tb
2017-11-15 14:51:39 +01:00
Cenk Gündoğan
e1422bb5e4
testrunner: handle EOF and ProcessLookupError
2017-11-12 13:13:50 +01:00
Cenk Gündoğan
d537dd609f
testrunner: refactor exception printing
2017-11-12 13:13:50 +01:00
Martine Lenders
18fb51cf66
testrunner: show information about failed line (even without traceback)
2017-11-12 12:27:21 +01:00
a8275ea637
dist/tools/testrunner: fix some pep8
2017-11-10 13:26:15 +01:00
Hauke Petersen
1928d1c0e9
tools/testrunner: wait 3s after 'make term'
2017-10-25 12:28:45 +02:00
Martine Lenders
9d0881fae5
dist: testrunner: optionally print traceback
2016-08-30 16:50:36 +02:00
18e55c6f67
dist: tools: testrunner: increase default timeout to 10 secs
2016-03-07 01:56:39 +01:00
e168f49c86
dist: testrunner: kill whole process group of spawned process
2016-03-05 20:47:51 +01:00
test
819dfacccc
dist: add testrunner shared pexpect code
2016-03-05 20:36:28 +01:00