Bug 122017

Summary: Would like a single way to run all the fast test suites
Product: WebKit Reporter: Jessie Berlin <jberlin>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, bfulgham, darin, lforschler, matthew_hanson, ossy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Jessie Berlin
Reported 2013-09-27 09:39:59 PDT
Right now we have run-bindings-tests test-webkitpy test-webkitperl run-api-tests run-javascriptcore-tests which are all pretty fast (with the possible exception of run-javasciptcore-tests, which can take a few minutes). There should be a way to run all of these with one command so that people do not have to mentally keep track of all the tests to run.
Attachments
Radar WebKit Bug Importer
Comment 1 2013-09-27 09:40:36 PDT
Darin Adler
Comment 2 2013-09-28 08:50:56 PDT
What I would like is that the name run-webkit-tests would be used for the single script that runs as many of the tests as is practical for a typical engineer to do on a routine basis. Tests that run fast and should all be passing. Here's how you would run it: % run-webkit-tests The output would try to be as terse as possible when tests are all succeeding. Easy to read without a mix of different formats chosen for each of the different test-running scripts. The script to run just our core regression tests from the LayoutTests directory could be given a less “canonical” name.
Matthew Hanson
Comment 3 2013-10-04 10:45:20 PDT
I would like to move the current run-webkit-tests to run-webkit-layout-tests. My patch will introduce a new utility called run-webkit-tests that, when run without arguments, will execute the run-webkit-layout-test. It will also introduce two new flags, the semantic meaning of which is detailed below: % run-webkit-tests //calls run-webkit-layout-tests % run-webkit-tests --include-fast-tests //calls run-webkit-layout-tests and the five tests above % run-webkit-tests --skip-fast-tests // calls run-webkit-layout-tests This will be the first of three implementation stages, which are as follows: 1. Move the current run-webkit-tests to run-webkit-layout-tests and add the --include fast-tests and --skip-fast-tests flags to run-webkit-tests 2. Update the bots to use the --skip-fast-tests flag 3. Change the default behavior of run-webkit-tests so that the fast tests are included by default Any feedback on this approach is welcome.
Lucas Forschler
Comment 4 2013-10-04 11:02:45 PDT
It would be beneficial to see all places in Opensource where "run-webkit-tests" is currently used. These will be places we must not break, and which will likely need tracking bugs to move to the new functionality. It sounds as though this change will be transparent, but we should double check.
Note You need to log in before you can comment on or make changes to this bug.