# HG changeset patch # User Doug Simon # Date 1436387624 -7200 # Node ID 415ade97204ccbe5465047a0ef1dc78fb694741a # Parent 3e104b9d5c555771b8e66ea5a9b7a707c4f69918 adapted to removal of mx_init() mechanism from mx2 diff -r 3e104b9d5c55 -r 415ade97204c mx.graal/mx_graal.py --- a/mx.graal/mx_graal.py Wed Jul 08 22:33:41 2015 +0200 +++ b/mx.graal/mx_graal.py Wed Jul 08 22:33:44 2015 +0200 @@ -411,17 +411,14 @@ _run_benchmark(args, None, launcher) -def mx_init(suite): - commands = { - 'dacapo': [dacapo, '[VM options] benchmarks...|"all" [DaCapo options]'], - 'scaladacapo': [scaladacapo, '[VM options] benchmarks...|"all" [Scala DaCapo options]'], - 'specjvm2008': [specjvm2008, '[VM options] benchmarks...|"all" [SPECjvm2008 options]'], - 'specjbb2013': [specjbb2013, '[VM options] [-- [SPECjbb2013 options]]'], - 'specjbb2005': [specjbb2005, '[VM options] [-- [SPECjbb2005 options]]'], - 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], - 'microbench' : [microbench, '[VM options] [-- [JMH options]]'], - 'deoptalot' : [deoptalot, '[n]'], - 'longtests' : [longtests, ''], - } - - mx.update_commands(suite, commands) +mx.update_commands(_suite, { + 'dacapo': [dacapo, '[VM options] benchmarks...|"all" [DaCapo options]'], + 'scaladacapo': [scaladacapo, '[VM options] benchmarks...|"all" [Scala DaCapo options]'], + 'specjvm2008': [specjvm2008, '[VM options] benchmarks...|"all" [SPECjvm2008 options]'], + 'specjbb2013': [specjbb2013, '[VM options] [-- [SPECjbb2013 options]]'], + 'specjbb2005': [specjbb2005, '[VM options] [-- [SPECjbb2005 options]]'], + 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], + 'microbench' : [microbench, '[VM options] [-- [JMH options]]'], + 'deoptalot' : [deoptalot, '[n]'], + 'longtests' : [longtests, ''], +})