Skip to content
Snippets Groups Projects
Commit 7c81a958 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Skip log file if the file line numbers differ

parent a30e9a0c
No related branches found
No related tags found
No related merge requests found
...@@ -141,6 +141,9 @@ def compare_files(config): ...@@ -141,6 +141,9 @@ def compare_files(config):
print("ERROR: {0:s} and {1:s} have different numbers of lines!".format( print("ERROR: {0:s} and {1:s} have different numbers of lines!".format(
config['fortran_file_name'], config['c_file_name'] config['fortran_file_name'], config['c_file_name']
)) ))
if (config['log_html']):
print("Different file sizes. No log produced.")
config['log_html'] = False
return mismatch_count return mismatch_count
## \brief Perform the comparison of two file lines. ## \brief Perform the comparison of two file lines.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment