Skip to content

Commit 48e1a56

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
add a comment based on review
1 parent 71d7970 commit 48e1a56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/test/examples/examples_lib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
411411

412412
if test_example:
413413
log = example['compare_log'].pop(0)
414+
# example['compare_log'] is a list of log file/files, which matches each examples/sub-examples from same repo.
415+
# pop the log file out of list regardless the compilation for each example pass of fail
414416
image = fetch_output_image(std_out)
415417
if image:
416418
image_info = [{"binary_type": "bootable","path": normpath(join(name,image)),"compare_log":log}]

0 commit comments

Comments
 (0)