Restore all suites in spec-task.coffee

Signed-off-by: Antonio Scandurra <as-cii@github.com>
This commit is contained in:
Nathan Sobo 2016-08-12 12:08:45 -06:00 committed by Antonio Scandurra
parent c861abc2a9
commit 41a49eaf44

View File

@ -136,7 +136,7 @@ module.exports = (grunt) ->
else
async.parallel
specs = [runMainProcessSpecs]
specs = [runRendererProcessSpecs, runMainProcessSpecs, runPackageSpecs]
method specs, (error, results) ->
failedPackages = []
@ -147,8 +147,8 @@ module.exports = (grunt) ->
elapsedTime = Math.round((Date.now() - startTime) / 100) / 10
grunt.log.ok("Total spec time: #{elapsedTime}s using #{concurrency} cores")
failures = failedPackages
failures.push "atom core (main process)" if mainProcessSpecsFailed
failures.push "atom core (renderer process)" if rendererProcessSpecsFailed
failures.push "atom core (main process)" if mainProcessSpecsFailed
grunt.log.error("[Error]".red + " #{failures.join(', ')} spec(s) failed") if failures.length > 0