diff 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
line wrap: on
line diff
--- 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)