add a comment based on review

pull/10521/head
Qinghao Shi 2019-05-15 23:31:58 +01:00
parent 71d7970fc5
commit 48e1a56e0e
1 changed files with 2 additions and 0 deletions

View File

@ -411,6 +411,8 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
if test_example:
log = example['compare_log'].pop(0)
# example['compare_log'] is a list of log file/files, which matches each examples/sub-examples from same repo.
# pop the log file out of list regardless the compilation for each example pass of fail
image = fetch_output_image(std_out)
if image:
image_info = [{"binary_type": "bootable","path": normpath(join(name,image)),"compare_log":log}]