DescriptionSupport test harness (text-only) tests w/o expected results.
A large number of our existing text-only tests follow the convention of having JS assertions that either print "PASS", "FAIL", or "TIMEOUT" at the beginning of a line of text. If the test out therefor does not contain a FAIL or a TIMEOUT and contains at least one or more "PASS"es, it seems reasonable to assume that the test did actually pass (completely), and the -expected.txt is kinda redundant.
The testharness-based tests from the W3C follow this convention as well. Supporting this convention means that we don't need to review and check in thousands of boilerplate -expected.txt files, and we could potentially delete thousands of existing -expected.txt files in the Blink repo.
R=ojan@chromium.org, eseidel@chromium.org
BUG=268711
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159735
Patch Set 1 #Patch Set 2 : merge to HEAD, change "js_test" to "testharness_test" #Patch Set 3 : merge forward #Patch Set 4 : merge to r159694 #Patch Set 5 : re-upload #
Messages
Total messages: 13 (0 generated)
|