Changeset 89290 in webkit


Ignore:
Timestamp:
Jun 20, 2011 2:30:28 PM (13 years ago)
Author:
dpranke@chromium.org
Message:

2011-06-20 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

we should only log the test names to the tests_run.txt files during layout_tests
https://bugs.webkit.org/show_bug.cgi?id=62751

  • Scripts/old-run-webkit-tests:
  • Scripts/webkitpy/layout_tests/layout_package/worker.py:
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r89289 r89290  
     12011-06-20  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Ojan Vafai.
     4
     5        we should only log the test names to the tests_run.txt files during layout_tests
     6        https://bugs.webkit.org/show_bug.cgi?id=62751
     7
     8        * Scripts/old-run-webkit-tests:
     9        * Scripts/webkitpy/layout_tests/layout_package/worker.py:
     10
    1112011-06-20  Eric Seidel  <eric@webkit.org>
    212
  • trunk/Tools/Scripts/old-run-webkit-tests

    r88913 r89290  
    753753    my $startTime = time if $report10Slowest;
    754754
    755     print $tests_run_fh "$testDirectory/$test\n";
     755    print $tests_run_fh "$test\n";
    756756
    757757    # Try to read expected hash file for pixel tests
  • trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/worker.py

    r88848 r89290  
    206206    def clean_up_after_test(self, test_input, result):
    207207        self._batch_count += 1
    208         self._tests_run_file.write(test_input.filename + "\n")
    209208        test_name = self._port.relative_test_filename(test_input.filename)
     209        self._tests_run_file.write(test_name + "\n")
    210210
    211211        if result.failures:
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py

    r88848 r89290  
    352352
    353353    def test_single_file(self):
    354         tests_run = get_tests_run(['passes/text.html'], tests_included=True, flatten_batches=True)
    355         self.assertEquals(['passes/text.html'], tests_run)
     354        # FIXME: We should consider replacing more of the get_tests_run()-style tests
     355        # with tests that read the tests_run* files, like this one.
     356        fs = port.unit_test_filesystem()
     357        tests_run = passing_run(['passes/text.html'], tests_included=True, filesystem=fs)
     358        self.assertEquals(fs.read_text_file('/tmp/layout-test-results/tests_run0.txt'),
     359                          'passes/text.html\n')
    356360
    357361    def test_single_file_with_prefix(self):
Note: See TracChangeset for help on using the changeset viewer.