• Home
  • Raw
  • Download

Lines Matching +full:meta +full:- +full:spec

11 // https://github.com/web-platform-tests/wpt/blob/HEAD/resources/testharness.js
12 // TODO: get rid of this half-baked harness in favor of the one
62 * pseudo-Response object.
100 const result = path.normalize(pattern).replace(/[-/\\^$+?.()|[\]{}]/g, '\\$&');
144 * 'html/webappapis/microtask-queuing'
188 // TODO(joyeecheung): we may need to deal with --with-intl=system-icu
212 if (requires.has('full-icu') && current !== kIntlRequirement.full) {
213 return 'full-icu';
215 if (requires.has('small-icu') && current < kIntlRequirement.small) {
216 return 'small-icu';
324 // If the tests are run as `node test/wpt/test-something.js subset.any.js`,
336 this.inProgress = new Set(queue.map((spec) => spec.filename));
338 for (const spec of queue) {
339 const testFileName = spec.filename;
340 const content = spec.getContent();
341 const meta = spec.title = this.getMeta(content);
343 const absolutePath = spec.getAbsolutePath();
344 const relativePath = spec.getRelativePath();
347 // Scripts specified with the `// META: script=` header
348 if (meta.script) {
349 for (const script of meta.script) {
429 const ran = total - skipped;
430 const passed = ran - expectedFailures - failures.length;
444 const spec = this.specMap.get(filename);
445 const title = spec.meta && spec.meta.title;
475 console.log(`---- ${title} ----`);
487 * @param {object} harnessStatus - The status object returned by WPT harness.
493 console.log(`---- ${title} ----`);
517 if (result[item.status][key].indexOf(item.reason) === -1) {
528 const spec = this.specMap.get(filename);
529 const expected = !!(spec.failReasons.length);
532 console.log(spec.failReasons.join('; '));
552 console.log(`---- ${title} ----`);
562 const matches = code.match(/\/\/ META: .+/g);
568 const parts = match.match(/\/\/ META: ([^=]+?)=(.+)/);
586 for (const spec of this.specMap.values()) {
587 const filename = spec.filename;
588 if (spec.skipReasons.length > 0) {
589 this.skip(filename, spec.skipReasons);
593 const lackingIntl = intlRequirements.isLacking(spec.requires);
599 queue.push(spec);