Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed3b30 commit 3a5fdacCopy full SHA for 3a5fdac
test/common/wpt.js
@@ -474,7 +474,6 @@ class WPTRunner {
474
}
475
476
process.on('exit', () => {
477
- const total = this.specMap.size;
478
if (this.inProgress.size > 0) {
479
for (const filename of this.inProgress) {
480
this.fail(filename, { name: 'Unknown' }, kIncomplete);
@@ -506,7 +505,9 @@ class WPTRunner {
506
505
507
508
const unexpectedPasses = [];
509
- for (const [key, specMap] of this.specMap) {
+ for (const specMap of queue) {
+ const key = specMap.filename;
510
+
511
// File has no expected failures
512
if (!specMap.failedTests.length) {
513
continue;
@@ -529,7 +530,8 @@ class WPTRunner {
529
530
531
532
- const ran = total - skipped;
533
+ const ran = queue.length;
534
+ const total = ran + skipped;
535
const passed = ran - expectedFailures - failures.length;
536
console.log(`Ran ${ran}/${total} tests, ${skipped} skipped,`,
537
`${passed} passed, ${expectedFailures} expected failures,`,
0 commit comments