Mercurial > hg > graal-compiler
comparison mx/commands.py @ 7287:76c9023ed438
Remove now useless prefix arguments for jtt unittests
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 20 Dec 2012 17:06:59 +0100 |
parents | c356cab093bc |
children | d1aa5ffac560 |
comparison
equal
deleted
inserted
replaced
7286:641f41d8342b | 7287:76c9023ed438 |
---|---|
689 include a filter as a substring are run. Negative filters are | 689 include a filter as a substring are run. Negative filters are |
690 those with a '-' prefix. VM args should have a @ prefix.""" | 690 those with a '-' prefix. VM args should have a @ prefix.""" |
691 | 691 |
692 def harness(p, vmArgs, classes): | 692 def harness(p, vmArgs, classes): |
693 prefixArgs = ['-XX:-BootstrapGraal', '-esa'] | 693 prefixArgs = ['-XX:-BootstrapGraal', '-esa'] |
694 if p.name.endswith('.jtt'): | |
695 prefixArgs = prefixArgs + [ | |
696 '-XX:CompileOnly=com/oracle/graal/jtt', | |
697 '-XX:CompileCommand=compileonly,java/lang/Object::<init>', | |
698 '-XX:CompileCommand=quiet', | |
699 '-Xcomp'] | |
700 vm(prefixArgs + vmArgs + ['-cp', mx.classpath(p.name), 'org.junit.runner.JUnitCore'] + classes) | 694 vm(prefixArgs + vmArgs + ['-cp', mx.classpath(p.name), 'org.junit.runner.JUnitCore'] + classes) |
701 _run_tests(args, harness) | 695 _run_tests(args, harness) |
702 | 696 |
703 def buildvms(args): | 697 def buildvms(args): |
704 """build one or more VMs in various configurations""" | 698 """build one or more VMs in various configurations""" |