Commit ed42a71d authored by Sathya Gunasekaran's avatar Sathya Gunasekaran Committed by Commit Bot

test262 roll

Bug: v8:7834
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Ieab3529ce40a2c01c18f7fade10ec8b437173aa9
Reviewed-on: https://chromium-review.googlesource.com/1194424
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55472}
parent b56e299d
......@@ -61,7 +61,7 @@ deps = {
'v8/test/mozilla/data':
Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
'v8/test/test262/data':
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + 'a6c1d05ac4fed084fa047e4c52ab2a8c9c2a8aef',
Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + '835c85c26e35afbac872d4a98ad66585cd76ae62',
'v8/test/test262/harness':
Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '0f2acdd882c84cff43b9d60df7574a1901e2cdcd',
'v8/third_party/qemu': {
......
This diff is collapsed.
......@@ -44,7 +44,7 @@ from testrunner.outproc import test262
FEATURE_FLAGS = {
'BigInt': '--harmony-bigint',
'class-fields-public': '--harmony-public-fields',
'class-fields-private': '--harmony-private-fields',
'class-static-fields-public': '--harmony-class-fields',
'Array.prototype.flat': '--harmony-array-flat',
'Array.prototype.flatMap': '--harmony-array-flat',
'String.prototype.matchAll': '--harmony-string-matchall',
......@@ -56,7 +56,12 @@ FEATURE_FLAGS = {
'Symbol.prototype.description': '--harmony-symbol-description',
}
SKIPPED_FEATURES = set([])
SKIPPED_FEATURES = set(['Intl.Segmenter',
'Object.fromEntries',
'export-star-as-namespace-from-module',
'class-fields-private',
'class-static-fields-private',
'class-static-methods-private'])
DATA = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data")
......
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Run the test runner and dump a json file. Use this script to pass
// the json file and return a list of failing tests that can be copied
// to test262.status.
//
// Usage:
//
// Run the test runner to generate the results:
// $ tools/run-tests.py --gn test262 --json-test-results=tools/.test262-results.json
//
// Run this script to print the formatted results:
// $ node tools/test262-results-parser.js .test262-results.json
//
// Note: The json results file generated by the test runner should be
// in the tools/ directly, which is the same dir as this script.
var fs = require('fs'),
path = require('path');
function main() {
if (process.argv.length === 2) {
throw new Error('File name required as first arg.');
}
var fileName = process.argv[2],
fullPath = path.join(__dirname, fileName),
results = require(fullPath)[0].results,
tests = new Set();
for (let result of results) {
let [_, ...test] = result.name.split('/');
tests.add(` '${test.join('/')}': [FAIL],`);
}
[...tests].sort().forEach(i => console.log(i));
}
main();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment