Fix a bug (typo) seen when printing the logs from failed tests. (#513)

pull/514/head
trhd 9 years ago committed by Jussi Pakkanen
parent 27134e8e04
commit a76693f338
  1. 2
      mesonbuild/scripts/meson_test.py

@ -261,7 +261,7 @@ def run(args):
for log in collected_logs[:10]: for log in collected_logs[:10]:
lines = log.splitlines() lines = log.splitlines()
if len(lines) > 100: if len(lines) > 100:
print(line[0]) print(lines[0])
print('--- Listing only the last 100 lines from a long log. ---') print('--- Listing only the last 100 lines from a long log. ---')
lines = lines[-99:] lines = lines[-99:]
for line in lines: for line in lines:

Loading…
Cancel
Save