Changeset 195579 in webkit
- Timestamp:
- Jan 25, 2016 9:40:28 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r195573 r195579 1 2016-01-25 Simon Fraser <simon.fraser@apple.com> 2 3 Give the layout test results file a <title> showing the date and time the tests were run 4 https://bugs.webkit.org/show_bug.cgi?id=153187 5 6 Reviewed by Darin Adler. 7 8 Generate a <title> element from the 'date' property in the JSON. 9 10 * fast/harness/results.html: 11 1 12 2016-01-25 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 13 -
trunk/LayoutTests/fast/harness/results.html
r191524 r195579 1386 1386 } 1387 1387 1388 function updateTitle() 1389 { 1390 var dateString = globalState().results.date; 1391 1392 var title = document.createElement('title'); 1393 title.textContent = 'Layout Test Results from ' + dateString; 1394 document.head.appendChild(title); 1395 } 1388 1396 1389 1397 function generatePage() 1390 1398 { 1399 updateTitle(); 1391 1400 forEachTest(processGlobalStateFor); 1392 1401 forOtherCrashes(); -
trunk/Tools/ChangeLog
r195558 r195579 1 2016-01-25 Simon Fraser <simon.fraser@apple.com> 2 3 Give the layout test results file a <title> showing the date and time the tests were run 4 https://bugs.webkit.org/show_bug.cgi?id=153187 5 6 Reviewed by Darin Adler. 7 8 Include a 'date' property in the JSON with the date and time the tests completed. 9 10 * Scripts/webkitpy/layout_tests/models/test_run_results.py: 11 (summarize_results): 12 1 13 2016-01-25 Commit Queue <commit-queue@webkit.org> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
r194768 r195579 28 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 29 30 import datetime 30 31 import logging 31 32 import signal … … 134 135 'num_passes': The number of unexpected passes 135 136 'tests': a dict of tests -> {'expected': '...', 'actual': '...'} 137 'date': the current date and time 136 138 """ 137 139 results = {} … … 265 267 results['pixel_tests_enabled'] = port_obj.get_option('pixel_tests') 266 268 results['other_crashes'] = other_crashes_dict 269 results['date'] = datetime.datetime.now().strftime("%I:%M%p on %B %d, %Y") 267 270 268 271 try:
Note: See TracChangeset
for help on using the changeset viewer.