Mercurial > hg > graal-compiler
diff mx/sanitycheck.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/sanitycheck.py Fri Jan 06 17:45:40 2012 +0100 +++ b/mx/sanitycheck.py Fri Jan 06 18:35:39 2012 +0100 @@ -47,6 +47,23 @@ 'xalan': [0, 0, 5, 10, 15], } +dacapoGateBuildLevels = { + 'avrora': ['product', 'fastdebug', 'debug'], + 'batik': ['product', 'fastdebug', 'debug'], + 'eclipse': ['product'], + 'fop': ['product', 'fastdebug', 'debug'], + 'h2': ['product', 'fastdebug', 'debug'], + 'jython': ['product', 'fastdebug', 'debug'], + 'luindex': ['product', 'fastdebug', 'debug'], + 'lusearch': ['product'], + 'pmd': ['product', 'fastdebug', 'debug'], + 'sunflow': ['product', 'fastdebug', 'debug'], + 'tomcat': ['product', 'fastdebug', 'debug'], + 'tradebeans': ['product', 'fastdebug', 'debug'], + 'tradesoap': ['product', 'fastdebug', 'debug'], + 'xalan': ['product', 'fastdebug', 'debug'], +} + class SanityCheckLevel: Fast, Gate, Normal, Extensive, Benchmark = range(5) @@ -72,12 +89,13 @@ return Test("SPECjvm2008", "SPECjvm2008", ['-jar', 'SPECjvm2008.jar'] + opts, [success], [error], [matcher], vmOpts=['-Xms2g'], defaultCwd=specjvm2008) -def getDacapos(level=SanityCheckLevel.Normal, dacapoArgs=[]): +def getDacapos(level=SanityCheckLevel.Normal, gateBuildLevel=None, dacapoArgs=[]): checks = [] for (bench, ns) in dacapoSanityWarmup.items(): if ns[level] > 0: - checks.append(getDacapo(bench, ns[level], dacapoArgs)) + if gateBuildLevel is None or gateBuildLevel in dacapoGateBuildLevels[bench]: + checks.append(getDacapo(bench, ns[level], dacapoArgs)) return checks