mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Log total spec time when done
This commit is contained in:
@@ -53,6 +53,8 @@ module.exports = (grunt) ->
|
||||
|
||||
grunt.registerTask 'run-specs', 'Run the specs', ->
|
||||
done = @async()
|
||||
startTime = Date.now()
|
||||
async.parallel [runCoreSpecs, runPackageSpecs], (error, results) ->
|
||||
[coreSpecPassed, packageSpecsPassed] = results
|
||||
grunt.log.writeln("Total spec time: #{(Date.now() - startTime)/1000}s")
|
||||
done(coreSpecPassed and packageSpecsPassed)
|
||||
|
||||
Reference in New Issue
Block a user