Skip to content

Commit 0d19d9d

Browse files
committed
check-inductor-report.py
1 parent fe5f9f1 commit 0d19d9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/check_inductor_report.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def check_report(suite, dtype, mode, test_mode, device, models_file, inductor_lo
1515
exitcode = 0
1616

1717
with open(models_file, encoding="utf-8") as f:
18-
subset = f.readlines()
18+
subset = f.read().splitlines()
1919

2020
with open(inductor_report_path, encoding="utf-8") as f:
2121
reader = csv.reader(f)
@@ -46,6 +46,7 @@ def check_report(suite, dtype, mode, test_mode, device, models_file, inductor_lo
4646
if test_statuses[idx] != "pass":
4747
exitcode = 1
4848
print(f"Test is NOT PASSED: {m}")
49+
import pdb;pdb.set_trace()
4950
return exitcode
5051

5152

0 commit comments

Comments
 (0)