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
..
2019-06-30 17:32:34 +02:00
2017-05-07 22:04:54 +02:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2019-08-11 22:11:55 +02:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-13 20:55:49 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2019-08-03 14:53:05 +02:00
2019-02-12 20:03:46 +01:00
2019-02-05 19:04:07 +01:00
2019-04-11 18:23:40 +02:00
2019-05-18 22:41:22 +02:00
2019-03-31 12:15:02 +02:00
2019-03-28 17:20:00 +01:00
2019-03-31 12:15:02 +02:00
2019-03-28 19:01:00 +01:00
2019-03-28 17:20:00 +01:00
2018-12-06 22:37:10 +01:00
2019-03-28 17:20:00 +01:00
2019-03-28 17:20:00 +01:00
2019-03-31 12:15:02 +02:00
2019-08-01 18:11:33 +02:00
2019-03-28 17:20:00 +01:00
2019-03-31 12:15:02 +02:00
2019-08-02 17:35:44 +02:00
2019-06-30 17:32:34 +02:00
2019-03-31 14:01:50 +02:00
2018-12-06 22:30:30 +01:00
2018-12-06 22:30:36 +01:00
2018-12-06 22:19:59 +01:00
2018-12-06 22:30:40 +01:00
2018-12-06 22:30:46 +01:00
2019-03-31 14:01:50 +02:00
2019-03-31 14:01:50 +02:00
2019-03-31 14:01:50 +02:00
2018-12-06 22:19:59 +01:00
2018-12-03 20:48:49 +01:00
2018-12-06 23:08:59 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2019-08-03 14:53:05 +02:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2019-08-03 14:53:05 +02:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-23 22:05:46 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-13 20:55:45 +01:00
2018-11-23 22:05:46 +01:00
2018-12-08 20:50:08 +01:00
2019-03-28 17:20:00 +01:00
2018-11-20 09:01:08 +01:00
2019-08-03 14:53:05 +02:00