comparison mx/commands.py @ 11757:ec058ce90a3d

pylint fixes
author Mick Jordan <mick.jordan@oracle.com>
date Mon, 23 Sep 2013 21:35:12 -0700
parents 78e6109ee411
children 4ac92e735a16
comparison
equal deleted inserted replaced
11756:78e6109ee411 11757:ec058ce90a3d
1096 tasks.append(t.stop()) 1096 tasks.append(t.stop())
1097 1097
1098 if exists('jacoco.exec'): 1098 if exists('jacoco.exec'):
1099 os.unlink('jacoco.exec') 1099 os.unlink('jacoco.exec')
1100 1100
1101 global _jacoco
1101 if args.jacocout is not None: 1102 if args.jacocout is not None:
1102 _jacoco = 'append' 1103 _jacoco = 'append'
1103 else: 1104 else:
1104 _jacoco = 'off' 1105 _jacoco = 'off'
1105 1106
1106 gate_body(args, tasks) 1107 gate_body(args, tasks)
1107 1108
1108 except KeyboardInterrupt: 1109 except KeyboardInterrupt:
1109 total.abort(1) 1110 total.abort(1)
1110 1111
1118 mx.log('Gate task times:') 1119 mx.log('Gate task times:')
1119 for t in tasks: 1120 for t in tasks:
1120 mx.log(' ' + str(t.duration) + '\t' + t.title) 1121 mx.log(' ' + str(t.duration) + '\t' + t.title)
1121 mx.log(' =======') 1122 mx.log(' =======')
1122 mx.log(' ' + str(total.duration)) 1123 mx.log(' ' + str(total.duration))
1123 1124
1124 def deoptalot(args): 1125 def deoptalot(args):
1125 """bootstrap a fastdebug Graal VM with DeoptimizeALot and VerifyOops on 1126 """bootstrap a fastdebug Graal VM with DeoptimizeALot and VerifyOops on
1126 1127
1127 If the first argument is a number, the process will be repeated 1128 If the first argument is a number, the process will be repeated
1128 this number of times. All other arguments are passed to the VM.""" 1129 this number of times. All other arguments are passed to the VM."""