eobuildall: display elapsed time for the modules

This commit is contained in:
Frédéric Péters 2015-08-19 16:30:40 +02:00
parent 4f8031c43e
commit 303a4761c8
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import ConfigParser
import os
import subprocess
import sys
import time
from eobuilder import settings, init as eobuilder_init
@ -69,12 +70,15 @@ if __name__ == '__main__':
for module in get_modules():
if module in blacklist:
continue
t0 = time.time()
print '='*60
print module
print '='*60
sys.stdout.flush()
results[module] = build_module(config, module)
print '\n'*2
print '\n'
print '(%1.2f seconds)' % (time.time()-t0)
print '\n'
sys.stdout.flush()
for module in sorted(results.keys()):