[tests] Local ignores.json file for ignored integration tests

This commit is contained in:
John Firebaugh
2017-07-12 13:40:32 -07:00
parent 7abbe32325
commit fbbc8f2d7a
4 changed files with 72 additions and 9 deletions

View File

@@ -1,12 +1,13 @@
'use strict';
var suite = require('../../../mapbox-gl-js/test/integration').render;
var suiteImplementation = require('./suite_implementation');
const suite = require('../../../mapbox-gl-js/test/integration').render;
const suiteImplementation = require('./suite_implementation');
const ignores = require('./ignores.json');
var tests;
let tests;
if (process.argv[1] === __filename && process.argv.length > 2) {
tests = process.argv.slice(2);
}
suite.run('native', {tests: tests}, suiteImplementation);
suite.run('native', {tests: tests, ignores: ignores}, suiteImplementation);