diff options
author | Sergio Martins <smartins@kde.org> | 2019-10-03 12:46:09 +0100 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2019-10-03 12:46:09 +0100 |
commit | 5dfdc9670ca2ea4df1d07a0df0cfb4e9e2bd4db5 (patch) | |
tree | a3a80641320a54c0a94c36ae8c574453379bf68e | |
parent | d5463d89638a9d2cf57e9438bf0d895fd526b3d9 (diff) |
tests: Print an exception if it happens
-rwxr-xr-x | tests/run_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py index 1980280b..a067009f 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -444,7 +444,8 @@ def files_are_equal(file1, file2): f.close() return lines1 == lines2 - except: + except Exception as ex: + print("Errot comparing files:" + str(ex)) return False def compare_files(expects_failure, expected_file, result_file, message): |