!30453 Fix Bug of Debugging TBE compiling

Merge pull request !30453 from jiaorui/test_compile
This commit is contained in:
i-robot 2022-02-24 02:42:40 +00:00 committed by Gitee
commit 94dbb58240
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ class TestCompile:
print("Process Logs:")
for item in compile_result_json["process_info"]:
print("### LogLevel:" + str(item["level"]) + " " + item["message"])
res_json = json.loads(res)
if res_json["status"] == "FAILED":
if compile_result_json["status"] == "FAILED":
print("Compile Failed")
return False