Mercurial > hg > graal-compiler
diff mx/commands.py @ 4329:4aacce9c9cb9
Add posibility to give arguments for a SPECjvm2008 run
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 26 Jan 2012 12:22:36 +0100 |
parents | 600cbdce9805 |
children | d13bfce7b3dd |
line wrap: on
line diff
--- a/mx/commands.py Thu Jan 26 12:17:11 2012 +0100 +++ b/mx/commands.py Thu Jan 26 12:22:36 2012 +0100 @@ -542,7 +542,7 @@ benchmarks += sanitycheck.getBootstraps() #SPECjvm2008 if ('specjvm2008' in args or 'all' in args): - benchmarks += [sanitycheck.getSPECjvm2008(True, 120, 120)] + benchmarks += [sanitycheck.getSPECjvm2008(None, True, 120, 120)] for test in benchmarks: if not results.has_key(test.group): @@ -554,7 +554,9 @@ f.write(json.dumps(results)) def specjvm2008(args): - sanitycheck.getSPECjvm2008().bench('-graal') + benchArgs = [a[1:] for a in args if a[0] == '@'] + vmArgs = [a for a in args if a[0] != '@'] + sanitycheck.getSPECjvm2008(benchArgs).bench('-graal', opts=vmArgs) def mx_init(): _vmbuild = 'product'