修改了默认的接口,部分测试用例以及接口代码,需要修改。

This commit is contained in:
2025-08-13 00:30:21 +08:00
parent 89937759cf
commit 12a142bf2e
15 changed files with 120 additions and 138 deletions

View File

@@ -138,11 +138,13 @@ if __name__ == "__main__":
rst_f = 'generated/log/' + fi
src_f = 'tb/shinTest/testcase_result/' + fi
outmsg = f"TESTCASE: {fi}"
outmsg = outmsg + " " * (60 - len(outmsg))
if not (fi in src_files):
print(f"Testcase:{fi}\t\t\t[\033[93mIGNORE\033[0m]")
print(f"{outmsg}[\033[93mIGNORE\033[0m]")
continue
if compare_files(src_f, rst_f):
print(f"Testcase:{fi}\t\t\t[\033[92mPASS\033[0m]")
print(f"{outmsg}[\033[92mPASS\033[0m]")
else:
print(f"Testcase:{fi}\t\t\t[\033[91mFAILED\033[0m]")
print(f"{outmsg}[\033[91mFAILED\033[0m]")