changeset 22194:b8c1c277a6ef

Propagate -n parameter properly to dacapo for calls such as 'mx bench dacapo:*'
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Thu, 09 Jul 2015 15:57:22 +0200
parents b4971242bd23
children a0d0ecbceeb4
files mx.graal/mx_graal.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mx.graal/mx_graal.py	Thu Jul 09 15:34:11 2015 +0200
+++ b/mx.graal/mx_graal.py	Thu Jul 09 15:57:22 2015 +0200
@@ -1697,7 +1697,7 @@
                 mx.abort('Unknown DaCapo : ' + dacapo)
             iterations = sanitycheck.dacapoSanityWarmup[dacapo][sanitycheck.SanityCheckLevel.Benchmark]
             if iterations > 0:
-                benchmarks += [sanitycheck.getDacapo(dacapo, iterations)]
+                benchmarks += [sanitycheck.getDacapo(dacapo, ['-n', str(iterations)])]
 
     if 'scaladacapo' in args or 'all' in args:
         benchmarks += sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Benchmark)