diff mx/commands.py @ 4228:e872562f95f8

add a simple specjvm2008 command, fail a benchmark if one of the failureRE matches
author Gilles Duboscq <gilles.m.duboscq@gmail.com>
date Thu, 05 Jan 2012 14:53:37 +0100
parents 1fe200db8c30
children b780ecb920c9
line wrap: on
line diff
--- a/mx/commands.py	Thu Jan 05 14:25:58 2012 +0100
+++ b/mx/commands.py	Thu Jan 05 14:53:37 2012 +0100
@@ -588,13 +588,17 @@
         results[test.group].update(test.bench('-graal'))
     print results
     
+def specjvm2008(args):
+    sanitycheck.getSPECjvm2008().bench('-graal')
+    
 def mx_init():
     _vmbuild = 'product'
     commands = {
         'build': [build, '[-options]'],
         'clean': [clean, ''],
         'copyrightcheck': [copyrightcheck, ''],
-        'dacapo': [dacapo, '[benchmark] [VM options|DaCapo options]'],
+        'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'],
+        'specjvm2008': [specjvm2008, ''],
         'example': [example, '[-v] example names...'],
         'gate' : [gate, ''],
         'bench' : [bench, ''],