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

Fix and update web platform tests #37467

Closed
wants to merge 3 commits into from
Closed

Conversation

targos
Copy link
Member

@targos targos commented Feb 21, 2021

  • test: redownload wpt fixtures with correct encoding
  • test: update all Web Platform Tests

The fixtures were generated with a modified version of node-core-utils
containing these two PRs:

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 21, 2021
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member

@jasnell
Copy link
Member

jasnell commented Feb 23, 2021

RSLGTM

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@targos
Copy link
Member Author

targos commented Mar 3, 2021

There are many unexpected failures with TextDecoder specific to Windows.
I don't know if it's something we should look into or if we can just skip these tests.

@jasnell wdyt?

Example:

17:56:18     ---- legacy-mb-schinese\gbk\gbk-decoder.any.js ----
17:56:18     [UNEXPECTED_FAILURE][FAIL] gbk pointer: 6432
17:56:18     assert_equals: expected 8364 but got 59244
17:56:18         at Test.<anonymous> (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\encoding\legacy-mb-schinese\gbk\gbk-decoder.any.js:26:9)
17:56:18         at Test.step (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\resources\testharness.js:2092:25)
17:56:18         at test (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\resources\testharness.js:566:30)
17:56:18         at C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\encoding\legacy-mb-schinese\gbk\gbk-decoder.any.js:20:5
17:56:18         at Script.runInThisContext (node:vm:131:12)
17:56:18     Command: C:\workspace\node-test-binary-windows-js-suites\node\Release\node.exe  C:\workspace\node-test-binary-windows-js-suites\node\test\wpt\test-encoding.js legacy-mb-schinese\gbk\gbk-decoder.any.js

@jasnell
Copy link
Member

jasnell commented Mar 3, 2021

Let's skip those for now but open a tracking issue to investigate. I'm not sure why those would fail on windows of the top of my head

@targos
Copy link
Member Author

targos commented Mar 3, 2021

Actually I think I know why they fail only on Windows...
I already skipped them in the status file. It's probably not taken into account on Windows because of the different path separator.

image

@targos
Copy link
Member Author

targos commented Mar 3, 2021

Should be fixed with e5d071e

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

targos added a commit that referenced this pull request Mar 3, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
targos added a commit that referenced this pull request Mar 3, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
@targos
Copy link
Member Author

targos commented Mar 3, 2021

Landed in 26288ff...0c11f2e

@targos targos closed this Mar 3, 2021
@targos targos deleted the update-wpt branch March 3, 2021 21:17
danielleadams pushed a commit that referenced this pull request Mar 16, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
danielleadams pushed a commit that referenced this pull request Mar 16, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants