kumquat-buildroot/support/testing
Ricardo Martincoski 1b2928201f support/testing: do not print non-utf-8 chars on cbor test
The python-cbor sample script to be run on the target dumps a binary
variable to the target stdout. This is done for debug purposes-only, in
the case the test on test infra fails.
This non-utf-8 is currently silently ignored by the Emulator class /
pexpect.spawn from the test infra because the infra uses Python 2, that
in turn do not differentiate between string and byte data.

Make the code Python3-friendly (Python 3 in the host) by doing the right
thing and encoding the data before printing it.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-11 22:11:55 +02:00
..
conf support/testing: test syslog-ng with builtin kernel 2019-08-03 14:53:05 +02:00
infra support/testing: allow run-tests to be called from anywhere 2019-08-03 17:17:29 +02:00
tests support/testing: do not print non-utf-8 chars on cbor test 2019-08-11 22:11:55 +02:00
run-tests testing/infra: Add BRConfigTest as superclass of BRTest 2019-02-06 10:40:15 +01:00