time all builds and run

This commit is contained in:
Ciro Santilli
2018-09-14 15:53:08 +01:00
parent 435436f714
commit 40b5c5a023
4 changed files with 30 additions and 5 deletions

9
run
View File

@@ -1,10 +1,11 @@
#!/usr/bin/env python3
import os
import re
import shlex
import subprocess
import sys
import re
import time
import common
@@ -463,4 +464,8 @@ Run QEMU with VNC instead of the default SDL. Connect to it with:
if __name__ == '__main__':
parser = get_argparse()
args = common.setup(parser)
sys.exit(main(args))
start_time = time.time()
exit_status = main(args)
end_time = time.time()
common.print_time(end_time - start_time)
sys.exit(exit_status)