summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2009-06-19 15:40:01 -0700
committerGuang Zhu <guangzhu@google.com>2009-06-19 15:40:01 -0700
commit595fbd6ea22708504dc9e24b44fa5eb357a576ec (patch)
tree0c77f352fc74c49c12e45c5d3c11bc124b26408d
parent3af8e9389e008c0076b86cc6b3c6f005e7473d10 (diff)
downloadframeworks_base-595fbd6ea22708504dc9e24b44fa5eb357a576ec.zip
frameworks_base-595fbd6ea22708504dc9e24b44fa5eb357a576ec.tar.gz
frameworks_base-595fbd6ea22708504dc9e24b44fa5eb357a576ec.tar.bz2
Fix a bug where wrong variable was used for comparison.
-rwxr-xr-xtests/DumpRenderTree/assets/run_layout_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DumpRenderTree/assets/run_layout_tests.py b/tests/DumpRenderTree/assets/run_layout_tests.py
index 50ccb24..49165d0 100755
--- a/tests/DumpRenderTree/assets/run_layout_tests.py
+++ b/tests/DumpRenderTree/assets/run_layout_tests.py
@@ -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):