Bug 153187 - Give the layout test results file a <title> showing the date and time the tests were run
Summary: Give the layout test results file a <title> showing the date and time the tes...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 11:26 PST by Simon Fraser (smfr)
Modified: 2016-01-25 21:40 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.78 KB, patch)
2016-01-16 11:27 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-01-16 11:26:47 PST
Give the layout test results file a <title> showing the date and time the tests were run
Comment 1 Simon Fraser (smfr) 2016-01-16 11:27:34 PST
Created attachment 269175 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-01-16 11:28:19 PST
We could also store in the JSON the OS, OS version, and maybe a hostname so you can tell which bot you're looking at?
Comment 3 Alexey Proskuryakov 2016-01-16 18:06:17 PST
Comment on attachment 269175 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=269175&action=review

> Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py:269
> +    results['date'] = datetime.datetime.now().strftime("%I:%M%p on %B %d, %Y")

I'm not quite sure what the use case for this is, however wouldn't you also need a time zone?
Comment 4 Darin Adler 2016-01-19 22:57:33 PST
Comment on attachment 269175 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=269175&action=review

>> Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py:269
>> +    results['date'] = datetime.datetime.now().strftime("%I:%M%p on %B %d, %Y")
> 
> I'm not quite sure what the use case for this is, however wouldn't you also need a time zone?

Seems like a sensible thought.
Comment 5 Simon Fraser (smfr) 2016-01-20 21:21:10 PST
This is so that when I look in my History menu in Safari, I get something more descriptive than "results.html".
Comment 6 WebKit Commit Bot 2016-01-25 21:40:37 PST
Comment on attachment 269175 [details]
Patch

Clearing flags on attachment: 269175

Committed r195579: <http://trac.webkit.org/changeset/195579>
Comment 7 WebKit Commit Bot 2016-01-25 21:40:40 PST
All reviewed patches have been landed.  Closing bug.