Changeset 54091 in webkit


Ignore:
Timestamp:
Jan 29, 2010 5:06:56 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

2010-01-29 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Siedel.

Check in the first part of the Chromium Python port of the
run-webkit-tests test driver. The files under
layout_tests/layout_layout constitute most of the implementation;
they can be roughly divided into code that parses the
"test_expectations.txt" file that describes how we expect tests to
pass or fail, platform-specific hooks for the different Chromium
ports (in platform_utils*), code for parsing the output of the
tests and generating results files and HTML and JSON for the
dashboards, auxiliary scripts for starting and stopping HTTP and
Web Socket servers, and then one of the actual driver files
(test_shell_thread). Code for actually parsing test output for
failures and the top-level driver scripts will follow shortly.

https://bugs.webkit.org/show_bug.cgi?id=31498

  • Scripts/webkitpy/layout_tests: Added.
  • Scripts/webkitpy/layout_tests/layout_package: Added.
  • Scripts/webkitpy/layout_tests/layout_package/init.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/http_server.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Added.
    • scripts to start and stop apache. Note that the apache file generates a conf file dynamically, and we should switch to using the same static conf file that the regular run-webkit-tests uses, and we can also use the same httpd2.pem file.
  • Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Added.
    • scripts to generate the JSON layout test dashboard and the flakiness dashboard
  • Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Added.
    • default configuration for LigHTTPd (used on Windows)
  • Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Added.
    • utility class that implements progress bars on the console to be displayed while the tests are running
  • Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Added.
    • various routines for manipulating paths and URIs
  • Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Added.
  • Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Added.
    • platform-specific aspects of the drivers (binary names, paths, process control, etc.)
  • Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Added.
    • code for parsing the 'test_expectations.txt' file to determine which tests are expected to fail (and how) on which platforms
  • Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Added.
    • code for handling different kinds of failures (generating output in the results, etc.)
  • Scripts/webkitpy/layout_tests/layout_package/test_files.py: Added.
    • code to gather the lists of tests
  • Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Added.
    • code to actually execute tests via TestShell and process the output
  • Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Added.
    • scripts to start and stop the pywebsocket server
Location:
trunk/WebKitTools
Files:
21 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r54087 r54091  
     12010-01-29  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Eric Siedel.
     4
     5        Check in the first part of the Chromium Python port of the
     6        run-webkit-tests test driver. The files under
     7        layout_tests/layout_layout constitute most of the implementation;
     8        they can be roughly divided into code that parses the
     9        "test_expectations.txt" file that describes how we expect tests to
     10        pass or fail, platform-specific hooks for the different Chromium
     11        ports (in platform_utils*), code for parsing the output of the
     12        tests and generating results files and HTML and JSON for the
     13        dashboards, auxiliary scripts for starting and stopping HTTP and
     14        Web Socket servers, and then one of the actual driver files
     15        (test_shell_thread). Code for actually parsing test output for
     16        failures and the top-level driver scripts will follow shortly.
     17
     18        https://bugs.webkit.org/show_bug.cgi?id=31498
     19
     20        * Scripts/webkitpy/layout_tests: Added.
     21        * Scripts/webkitpy/layout_tests/layout_package: Added.
     22        * Scripts/webkitpy/layout_tests/layout_package/__init__.py: Added.
     23        * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Added.
     24        * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Added.
     25        * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Added.
     26        * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Added.
     27          - scripts to start and stop apache. Note that the apache file
     28            generates a conf file dynamically, and we should switch to
     29            using the same static conf file that the regular run-webkit-tests
     30            uses, and we can also use the same httpd2.pem file.
     31
     32        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: Added.
     33        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Added.
     34          - scripts to generate the JSON layout test dashboard and the
     35            flakiness dashboard
     36        * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Added.
     37          - default configuration for LigHTTPd (used on Windows)
     38        * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Added.
     39          - utility class that implements progress bars on the console to
     40            be displayed while the tests are running
     41        * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Added.
     42          - various routines for manipulating paths and URIs
     43        * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Added.
     44        * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Added.
     45        * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Added.
     46        * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Added.
     47          - platform-specific aspects of the drivers (binary names, paths,
     48            process control, etc.)
     49        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Added.
     50          - code for parsing the 'test_expectations.txt' file to determine
     51            which tests are expected to fail (and how) on which platforms
     52        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Added.
     53          - code for handling different kinds of failures (generating output
     54            in the results, etc.)
     55        * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Added.
     56          - code to gather the lists of tests
     57        * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Added.
     58          - code to actually execute tests via TestShell and process
     59            the output
     60        * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Added.
     61          - scripts to start and stop the pywebsocket server
     62
    1632010-01-29  Dirk Pranke  <dpranke@chromium.org>
    264
Note: See TracChangeset for help on using the changeset viewer.