Changeset 57843 in webkit
- Timestamp:
- Apr 19, 2010 2:56:59 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r57841 r57843 1 2010-04-19 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 new-run-webkit-tests: add a way (--print-unexpected-results) to 6 (re-)print out the tests that produced unexpected results in the 7 last run. Also add a way (--retry-unexpected-results) to 8 automatically re-test them. 9 10 https://bugs.webkit.org/show_bug.cgi?id=37783 11 12 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 13 1 14 2010-04-19 Dirk Pranke <dpranke@chromium.org> 2 15 -
trunk/WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r57841 r57843 1440 1440 options.results_directory = port_obj.results_directory() 1441 1441 1442 last_unexpected_results = [] 1443 if options.print_unexpected_results or options.retry_unexpected_results: 1444 unexpected_results_filename = os.path.join( 1445 options.results_directory, "unexpected_results.json") 1446 f = file(unexpected_results_filename) 1447 results = simplejson.load(f) 1448 f.close() 1449 last_unexpected_results = results['tests'].keys() 1450 if options.print_unexpected_results: 1451 print "\n".join(last_unexpected_results) + "\n" 1452 return 0 1453 1442 1454 if options.clobber_old_results: 1443 1455 # Just clobber the actual test results directories since the other … … 1483 1495 if not paths: 1484 1496 paths = [] 1497 paths += last_unexpected_results 1485 1498 if options.test_list: 1486 1499 paths += read_test_files(options.test_list) … … 1732 1745 # FIXME: consider: --iterations n 1733 1746 # Number of times to run the set of tests (e.g. ABCABCABC) 1747 optparse.make_option("--print-unexpected-results", action="store_true", 1748 default=False, help="print the tests in the last run that " 1749 "had unexpected results."), 1750 optparse.make_option("--retry-unexpected-results", action="store_true", 1751 default=False, help="re-try the tests in the last run that " 1752 "had unexpected results."), 1734 1753 ] 1735 1754
Note: See TracChangeset
for help on using the changeset viewer.