Mercurial > hg > truffle
comparison mx/commands.py @ 5295:31fc6b6c0425
Pass -v argument to SPECjvm2008 harness
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 25 Apr 2012 12:01:52 +0200 |
parents | 6b2d030d01ff |
children | 67e63e8dcbd2 |
comparison
equal
deleted
inserted
replaced
5294:2cf9e7d965d6 | 5295:31fc6b6c0425 |
---|---|
914 benchArgs = [a for a in args if a[0] != '-'] | 914 benchArgs = [a for a in args if a[0] != '-'] |
915 vmArgs = [a for a in args if a[0] == '-'] | 915 vmArgs = [a for a in args if a[0] == '-'] |
916 wt = None | 916 wt = None |
917 it = None | 917 it = None |
918 skipValid = False | 918 skipValid = False |
919 if '-v' in vmArgs: | |
920 vmArgs.remove('-v') | |
921 benchArgs.append('-v') | |
919 if '-ikv' in vmArgs: | 922 if '-ikv' in vmArgs: |
920 skipValid = True | 923 skipValid = True |
921 vmArgs.remove('-ikv') | 924 vmArgs.remove('-ikv') |
922 if '-wt' in vmArgs: | 925 if '-wt' in vmArgs: |
923 wtIdx = args.index('-wt') | 926 wtIdx = args.index('-wt') |