Final encoding fix.

I sincerely hope sufficient amounts of goats have now been sacrificed
at the altar of Debian Locales so things will actually work and I
can get to sleep.
pull/3453/head
Jussi Pakkanen 7 years ago
parent c7e2549e59
commit 824650411e
  1. 5
      run_project_tests.py

@ -701,7 +701,10 @@ if __name__ == '__main__':
if failing_tests > 0:
print('\nMesonlogs of failing tests\n')
for l in failing_logs:
print(l, '\n')
try:
print(l, '\n')
except UnicodeError:
print(l.encode('ascii', errors='replace').decode(), '\n')
for name, dirs, skip in all_tests:
dirs = (os.path.basename(x) for x in dirs)
for k, g in itertools.groupby(dirs, key=lambda x: x.split()[0]):

Loading…
Cancel
Save