comparison mx/commands.py @ 7290:a81db08fe930

added -ea to execution of unit tests
author Doug Simon <doug.simon@oracle.com>
date Fri, 21 Dec 2012 10:21:24 +0100
parents d1aa5ffac560
children a748e4d44694
comparison
equal deleted inserted replaced
7289:d1aa5ffac560 7290:a81db08fe930
688 If filters are supplied, only tests whose fully qualified name 688 If filters are supplied, only tests whose fully qualified name
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', '-ea']
694 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)
695 _run_tests(args, harness) 695 _run_tests(args, harness)
696 696
697 def buildvms(args): 697 def buildvms(args):
698 """build one or more VMs in various configurations""" 698 """build one or more VMs in various configurations"""