# HG changeset patch # User Doug Simon # Date 1356081684 -3600 # Node ID a81db08fe930607b9eee331882a34779b2a6d2ad # Parent d1aa5ffac56016d49ae99eb01a75b0e8590ce1a2 added -ea to execution of unit tests diff -r d1aa5ffac560 -r a81db08fe930 mx/commands.py --- a/mx/commands.py Thu Dec 20 18:03:14 2012 +0100 +++ b/mx/commands.py Fri Dec 21 10:21:24 2012 +0100 @@ -690,7 +690,7 @@ those with a '-' prefix. VM args should have a @ prefix.""" def harness(p, vmArgs, classes): - prefixArgs = ['-XX:-BootstrapGraal', '-esa'] + prefixArgs = ['-XX:-BootstrapGraal', '-esa', '-ea'] vm(prefixArgs + vmArgs + ['-cp', mx.classpath(p.name), 'org.junit.runner.JUnitCore'] + classes) _run_tests(args, harness)