comparison mx/commands.py @ 8569:59eb5a38df56

-Merge
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Thu, 28 Mar 2013 23:41:37 +0100
parents 676a85b65481
children c7672a325faf
comparison
equal deleted inserted replaced
8568:9323ff2fbd11 8569:59eb5a38df56
1023 else: 1023 else:
1024 mx.abort('-resultfile must be followed by a file name') 1024 mx.abort('-resultfile must be followed by a file name')
1025 vm = _vm 1025 vm = _vm
1026 if len(args) is 0: 1026 if len(args) is 0:
1027 args = ['all'] 1027 args = ['all']
1028 1028
1029 vmArgs = [arg for arg in args if arg.startswith('-')] 1029 vmArgs = [arg for arg in args if arg.startswith('-')]
1030 1030
1031 def benchmarks_in_group(group): 1031 def benchmarks_in_group(group):
1032 prefix = group + ':' 1032 prefix = group + ':'
1033 return [a[len(prefix):] for a in args if a.startswith(prefix)] 1033 return [a[len(prefix):] for a in args if a.startswith(prefix)]