Fix a bug where wrong variable was used for comparison.

This commit is contained in:
Guang Zhu
2009-06-19 15:40:01 -07:00
parent 3af8e9389e
commit 595fbd6ea2

View File

@@ -131,7 +131,7 @@ def CompareResults(ref_dir, results_dir):
result_file_name = "layout_tests_" + f + ".txt"
DiffResults(f, os.path.join(results_dir, result_file_name),
os.path.join(ref_dir, result_file_name), diff_result,
False, files != "passed")
False, f != "passed")
logging.info("Detailed diffs are in " + diff_result)
def main(options, args):