Skip to content

Commit f690266

Browse files
committed
add comment
1 parent 99da8fa commit f690266

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/ci/bsp_buildings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def check_output(output, check_string):
291291
if flag == True:
292292
print('find string ' + check_string)
293293
else:
294-
print('::error:: can not find string ' + check_string + output)
294+
print('::error:: can not find string ' + check_string + ' output:' + output)
295295

296296
return flag
297297
if __name__ == "__main__":
@@ -432,15 +432,15 @@ def check_output(output, check_string):
432432
output, returncode = run_command(command)
433433
print(output)
434434
if returncode != 0 or not check_output(output, build_check_result):
435-
print("Build failed or build check result not found")
436-
print(output)
435+
print(f"build command failed: {command}")
436+
print(output)
437437
#执行编译后的命令
438438
if post_build_command is not None:
439439
for command in post_build_command:
440440
output, returncode = run_command(command)
441441
print(output)
442442
if returncode != 0:
443-
print(f"Post-build command failed: {post_build_command}")
443+
print(f"Post-build command failed: {command}")
444444
print(output)
445445
#执行qemu中的执行命令
446446
if ci_build_run_flag is True:

0 commit comments

Comments
 (0)