测试用例分散到各个文件中去,避免一个文件过大

This commit is contained in:
2025-07-30 15:50:16 +08:00
parent 11b01cb1e6
commit 4266c4355f
10 changed files with 853 additions and 779 deletions

View File

@@ -154,7 +154,7 @@ class GenPkt(object):
self.pkt_buf.append(0)
i = i + 1
print("pkt_len:%d, data_len:%d"%(pkt_len, pkt_len - 4))
#print("pkt_len:%d, data_len:%d"%(pkt_len, pkt_len - 4))
f = open(filename, "wt+")
if filetype == 1:
for md in self.sub_pkt: