diff mx/commands.py @ 4240:394424b7df1a

Disabled certain DaCapo tests for fastdebug testing in the gate.
author Doug Simon <doug.simon@oracle.com>
date Fri, 06 Jan 2012 18:35:39 +0100
parents e0d09e05aa9b
children a69889e5a8a5
line wrap: on
line diff
--- a/mx/commands.py	Fri Jan 06 17:45:40 2012 +0100
+++ b/mx/commands.py	Fri Jan 06 18:35:39 2012 +0100
@@ -219,7 +219,7 @@
     
     if build == 'product':
         return jdk
-    elif build in ['debug', 'fastdebug', 'optimized']:
+    elif build in ['debug', 'fastdebug']:
         res = join(jdk, build)
         if not exists(res):
             if not create:
@@ -580,7 +580,7 @@
             unittest([])
             t.stop()
             
-            for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate):
+            for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild):
                 t = Task(str(test) + ':' + vmbuild)
                 if not test.test('-graal'):
                     t.abort(test.group + ' ' + test.name + ' Failed')
@@ -628,11 +628,10 @@
         mx.add_argument('--product', action='store_const', dest='vmbuild', const='product', help='select the product VM')
         mx.add_argument('--debug', action='store_const', dest='vmbuild', const='debug', help='select the debug VM')
         mx.add_argument('--fastdebug', action='store_const', dest='vmbuild', const='fastdebug', help='select the fast debug VM')
-        mx.add_argument('--optimized', action='store_const', dest='vmbuild', const='optimized', help='select the optimized VM')
         
         commands.update({
             'export': [export, '[-options] [zipfile]'],
-            'build': [build, '[-options] [product|debug|fastdebug|optimized]...']
+            'build': [build, '[-options] [product|debug|fastdebug]...']
         })
     
     mx.commands.update(commands)