Mercurial > hg > truffle
comparison mx/commands.py @ 4238:e0d09e05aa9b
Made the gate time each DaCapo test individually.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 06 Jan 2012 17:44:22 +0100 |
parents | 23f41c48b19b |
children | 394424b7df1a |
comparison
equal
deleted
inserted
replaced
4237:30b6720604d2 | 4238:e0d09e05aa9b |
---|---|
578 | 578 |
579 t = Task('UnitTests:' + vmbuild) | 579 t = Task('UnitTests:' + vmbuild) |
580 unittest([]) | 580 unittest([]) |
581 t.stop() | 581 t.stop() |
582 | 582 |
583 t = Task('DaCapoBenchmarks:' + vmbuild) | |
584 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate): | 583 for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate): |
584 t = Task(str(test) + ':' + vmbuild) | |
585 if not test.test('-graal'): | 585 if not test.test('-graal'): |
586 t.abort(test.group + ' ' + test.name + ' Failed') | 586 t.abort(test.group + ' ' + test.name + ' Failed') |
587 t.stop() | 587 t.stop() |
588 except Exception as e: | 588 except Exception as e: |
589 total.abort(str(e)) | 589 total.abort(str(e)) |
590 | 590 |
591 total.stop() | 591 total.stop() |
592 | 592 |