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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -141,6 +141,9 @@ def compare_files(config):
        print("ERROR: {0:s} and {1:s} have different numbers of lines!".format(
            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

## \brief Perform the comparison of two file lines.