Test: Be more paranoid about our log output.
authorGerald Combs <gerald@wireshark.org>
Mon, 21 May 2018 16:02:26 +0000 (09:02 -0700)
committerGerald Combs <gerald@wireshark.org>
Mon, 21 May 2018 18:03:42 +0000 (18:03 +0000)
commit2ecf69f7731083f5d8e3765fe1965a8a8cb11d9c
tree7facdf43b1206698688fe63a146d4d74f4306b5d
parente6c832c49a66dc88b305574d8875eb811a58124e
Test: Be more paranoid about our log output.

Run our CTest tests with PYTHONIOENCODING=UTF-8.

If someone runs our tests manually and their output encoding isn't
UTF-8, print replacement characters instead of failing with an error.

Open our log files with "errors='backslashreplace'" in case their
contents aren't UTF-8.

Change-Id: Ifa4d12c2b5e272cf3903f3e0c6102e4d961562f1
Reviewed-on: https://code.wireshark.org/review/27686
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
CMakeLists.txt
test/subprocesstest.py
test/test.py