Index: Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py |
index b4b92390bc498e09e53c9e09f85626c1e199dca2..60817a3781d9b299ca8fadd1d4706f36d91a9901 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py |
@@ -467,6 +467,12 @@ class RunTest(unittest.TestCase, StreamTestingMixin): |
self.assertEqual(host.filesystem.read_text_file('/tmp/layout-test-results/passes/error-stderr.txt'), |
'stuff going to stderr') |
+ def test_reftest_crash_log_is_saved(self): |
+ host = MockHost() |
+ self.assertTrue(logging_run(['failures/unexpected/crash-reftest.html'], tests_included=True, host=host)) |
+ self.assertEqual(host.filesystem.read_text_file('/tmp/layout-test-results/failures/unexpected/crash-reftest-crash-log.txt'), |
+ 'reftest crash log') |
+ |
def test_test_list(self): |
host = MockHost() |
filename = '/tmp/foo.txt' |