Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
4227:1fe200db8c30 | 4228:e872562f95f8 |
---|---|
586 if not results.has_key(test.group): | 586 if not results.has_key(test.group): |
587 results[test.group] = {} | 587 results[test.group] = {} |
588 results[test.group].update(test.bench('-graal')) | 588 results[test.group].update(test.bench('-graal')) |
589 print results | 589 print results |
590 | 590 |
591 def specjvm2008(args): | |
592 sanitycheck.getSPECjvm2008().bench('-graal') | |
593 | |
591 def mx_init(): | 594 def mx_init(): |
592 _vmbuild = 'product' | 595 _vmbuild = 'product' |
593 commands = { | 596 commands = { |
594 'build': [build, '[-options]'], | 597 'build': [build, '[-options]'], |
595 'clean': [clean, ''], | 598 'clean': [clean, ''], |
596 'copyrightcheck': [copyrightcheck, ''], | 599 'copyrightcheck': [copyrightcheck, ''], |
597 'dacapo': [dacapo, '[benchmark] [VM options|DaCapo options]'], | 600 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], |
601 'specjvm2008': [specjvm2008, ''], | |
598 'example': [example, '[-v] example names...'], | 602 'example': [example, '[-v] example names...'], |
599 'gate' : [gate, ''], | 603 'gate' : [gate, ''], |
600 'bench' : [bench, ''], | 604 'bench' : [bench, ''], |
601 'unittest' : [unittest, '[filters...]'], | 605 'unittest' : [unittest, '[filters...]'], |
602 'vm': [vm, '[-options] class [args...]'], | 606 'vm': [vm, '[-options] class [args...]'], |