aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2012-11-09 19:57:36 +0200
committerJukka Jylänki <jujjyl@gmail.com>2012-11-09 19:57:36 +0200
commit2ffd8b855ea368ff9aca3553a33414c20fb7a9a5 (patch)
tree88daeadff310ddd299444679d7bb52b0e8078ab7
parent728a9456ef98805c25b710dc5296a04167b9c9ad (diff)
Fix \r\n vs \n parsing issue in test runner comparisons.
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d9989c36..9c8219fb 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -431,7 +431,7 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv) and 'brows
js_output = self.run_generated_code(engine, filename + '.o.js', args)
if output_nicerizer is not None:
js_output = output_nicerizer(js_output)
- self.assertContained(expected_output, js_output)
+ self.assertContained(expected_output, js_output.replace('\r\n', '\n'))
self.assertNotContained('ERROR', js_output)
#shutil.rmtree(dirname) # TODO: leave no trace in memory. But for now nice for debugging