From 128ebf6a2b26ab377ce3e3a3ebae111d061eb7cc Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Mon, 30 Mar 2020 12:55:50 +0300 Subject: [PATCH] Added more debug prints to cabac_match.py --- tools/cabac_match.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cabac_match.py b/tools/cabac_match.py index 3ad5f617..808a0afe 100644 --- a/tools/cabac_match.py +++ b/tools/cabac_match.py @@ -30,6 +30,7 @@ with open(file1, "r") as fd1: with open(file2, "r") as fd2: for file1_line in fd1: file1_values = file1_line.strip().split() + #print(file1_values[0]) #print("{0} {1}".format(file1_values[0], check_int(file1_values[0]))) @@ -39,6 +40,8 @@ with open(file1, "r") as fd1: while 1: if int(file1_values[0]) == int(file2_values[0]): if check_values(file1_values, file2_values) != True: + print(file1_line) + print(file2_line) print("Value mismatch at " + file1_values[0]) exit(1) break