Use lcoal core when running our own tests in parallel
This commit is contained in:
@@ -56,11 +56,8 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
console.log('parallel runner pid:', process.pid);
|
console.log('parallel runner pid:', process.pid);
|
||||||
const done = this.async();
|
const done = this.async();
|
||||||
// TODO use this core instead of the one imported by jasmine/parallel
|
|
||||||
// const jasmineCore = require('./lib/jasmine-core.js');
|
|
||||||
const runner = new ParallelRunner({
|
const runner = new ParallelRunner({
|
||||||
// TODO:
|
jasmineCore: require('./lib/jasmine-core.js'),
|
||||||
// jasmineCore,
|
|
||||||
numWorkers: require('os').cpus().length
|
numWorkers: require('os').cpus().length
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ fs.readdirSync(rootPath).forEach(function(file) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
module.exports.files = {
|
module.exports.files = {
|
||||||
|
self: __filename,
|
||||||
path: rootPath,
|
path: rootPath,
|
||||||
bootDir: rootPath,
|
bootDir: rootPath,
|
||||||
bootFiles: bootFiles,
|
bootFiles: bootFiles,
|
||||||
|
|||||||
Reference in New Issue
Block a user