Changes between Version 5 and Version 6 of ImportingThirdPartyTests
- Timestamp:
- May 23, 2012, 2:25:47 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ImportingThirdPartyTests
v5 v6 8 8 9 9 1. General Import Process 10 a. Import entire test suite(s) from W3C repository: pixel tests, ref tests, manual tests, JS tests10 a. Clone entire test suite(s) from W3C repository: pixel tests, ref tests, manual tests, JS tests to a local directory 11 11 a. Run suite locally in WebKit directory 12 12 i. Ref Tests … … 17 17 * Over time, individuals can clean up these tests by creating valid (passing) reference files and then removing the .txt file 18 18 i. DRT / Pixel tests 19 * Expectations: create render tree dumps for each test and use that output as the new test expectation 19 * Each port can follow its own convention regarding pixel tests 20 * Expectations (in general): Use whatever.PNG is produced by the test as the new expectation 20 21 * Potential regressions will be identified by changes to this output 21 * Proposal (open to discussion) - stop the production of .PNGs for these imported tests22 * PROS23 * Avoid the increase to the overall size of the repository caused by all the new PNGs24 * Regressions will likely be caught by the render tree dumps25 * Avoid maintenance of all associated PNGs26 * CONS27 * Regressions may be missed without the use of .PNGs28 * May make test results harder to interpret29 22 i. JavaScript tests 30 23 * Pass - good, submit it (along with new expected.txt file - W3C does not use an expected.txt file for JS tests) 31 * Fail - Add to test_expectations file to avoid failures 32 * Over time, individual can clean up failing JS tests 24 * Fail - generate expected.txt file from test results, use it as new test expectations 33 25 i. Manual tests 34 * Submit in their current form26 * Include test files without making any changes 35 27 * Over time, convert to ref tests to be submitted back to W3C 36 28 … … 38 30 39 31 1. How should W3C tests that fail in WebKit be handled? 40 a. Failures should be checked in. Details in General Import Process above. 32 a. Failures should be checked in with new expectations such that they pass. 33 a. New expectation files should have a naming convention that indicates if they are perceived to be correct, incorrect, or unknown 41 34 1. Should a set frequency be used for importing tests? 42 35 a. No, frequency is up to the people who want to do this task.