Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OS Release and OS Build info to the run_info for Edge #15992

Merged

Conversation

stanleyhon
Copy link
Contributor

Adding detailed OS Release and OS build info to the run_info for Edge runs.

@wpt-pr-bot wpt-pr-bot added infra wptrunner The automated test runner, commonly called through ./wpt run labels Mar 22, 2019
@stanleyhon
Copy link
Contributor Author

@foolip
Copy link
Member

foolip commented Mar 22, 2019

I'll leave this review to @gsnedders.

Copy link
Member

@gsnedders gsnedders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks mostly good; one real comment (about tools.wpt) and a few minor nits. Thanks!

tools/wptrunner/wptrunner/browsers/edge.py Outdated Show resolved Hide resolved
tools/wptrunner/wptrunner/browsers/edge.py Outdated Show resolved Hide resolved
tools/wptrunner/wptrunner/browsers/edge.py Outdated Show resolved Hide resolved
tools/wptrunner/wptrunner/browsers/edge.py Outdated Show resolved Hide resolved
@stanleyhon
Copy link
Contributor Author

@gsnedders is there anything else I need to do? I've addressed your previous comments.

I noticed some automated failures, but they don't seem related to my changes.

@gsnedders
Copy link
Member

@stanleyhon I think I got side-tracked into figuring out what was causing those failures, sorry!

@gsnedders gsnedders merged commit 9925422 into web-platform-tests:master Mar 26, 2019


def run_info_extras(**kwargs):
osReleaseCommand = "(Get-ItemProperty 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion').ReleaseId"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  /home/test/web-platform-tests/tools/wptrunner/wptrunner/browsers/edge.py:105: DeprecationWarning: invalid escape sequence \S

I guess this should have used double backslashes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be a raw string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to make a fresh PR to fix this up?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you could, yes, please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've put up a CR over here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants