Bugfix: when displaying extra summary using -t option some indexes are not found and dictionary must be checked against key

pull/445/head
Przemek Wirkus 2014-08-14 11:30:50 +01:00
parent 278acbec5d
commit a09f3dd605
1 changed files with 8 additions and 6 deletions

View File

@ -370,7 +370,9 @@ class SingleTestRunner(object):
pt.padding_width = 1 # One space between column edges and contents (default) pt.padding_width = 1 # One space between column edges and contents (default)
for test in unique_tests: for test in unique_tests:
if test in result_dict:
test_results = result_dict[test] test_results = result_dict[test]
if test in unique_test_desc:
row = [target, test, unique_test_desc[test]] row = [target, test, unique_test_desc[test]]
for toolchain in unique_toolchains: for toolchain in unique_toolchains:
if toolchain in test_results: if toolchain in test_results: