From fa18a5cb33f9a27a13f7b42e29b89a0201f4d3ee Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Thu, 19 Dec 2013 10:36:19 -0800 Subject: [PATCH] Parallelize package specs --- tasks/spec-task.coffee | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tasks/spec-task.coffee b/tasks/spec-task.coffee index 13ef31852..89fcd7089 100644 --- a/tasks/spec-task.coffee +++ b/tasks/spec-task.coffee @@ -52,9 +52,7 @@ module.exports = (grunt) -> continue unless isAtomPackage(packagePath) packageSpecQueue.push(packagePath) - # TODO: Restore concurrency on Windows - packageSpecQueue.concurrency = 1 unless process.platform is 'win32' - + packageSpecQueue.concurrency = 1 packageSpecQueue.drain = -> callback(null, failedPackages) runCoreSpecs = (callback) -> @@ -79,10 +77,8 @@ module.exports = (grunt) -> if process.platform is 'win32' process.stderr.write(fs.readFileSync('ci.log')) fs.unlinkSync('ci.log') - else - # TODO: Restore concurrency on Windows - packageSpecQueue.concurrency = 2 + packageSpecQueue.concurrency = 2 callback(null, error) grunt.registerTask 'run-specs', 'Run the specs', ->