Skip to content

Commit

Permalink
revise bug in daily test
Browse files Browse the repository at this point in the history
  • Loading branch information
guodongliang committed Sep 26, 2024
1 parent 15d136e commit 29d065b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/Native/test/benchmark_test/benchmark_ntt.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,15 @@ def run(self):
return

for bin in self.bin_list:
cmd_status, cmd_result = self.run_evb(bin)
assert (cmd_status == 0)
lines = cmd_result.split('\r\n')
new_lines = lines[1:-1]
new_cmd_result = '\n'.join(new_lines)
self.parse_result(new_cmd_result)
if "primitive" in str(bin):
continue
else:
cmd_status, cmd_result = self.run_evb(bin)
assert (cmd_status == 0)
lines = cmd_result.split('\r\n')
new_lines = lines[1:-1]
new_cmd_result = '\n'.join(new_lines)
self.parse_result(new_cmd_result)


if __name__ == '__main__':
Expand Down

0 comments on commit 29d065b

Please sign in to comment.