comparison mx/sanitycheck.py @ 4334:0893aef10ed4

fix for SPECjvm2008 bench
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 26 Jan 2012 22:54:39 +0100
parents 9dbcdd6f1464
children 0d661161fa24
comparison
equal deleted inserted replaced
4333:ca48212b7681 4334:0893aef10ed4
64 } 64 }
65 65
66 class SanityCheckLevel: 66 class SanityCheckLevel:
67 Fast, Gate, Normal, Extensive, Benchmark = range(5) 67 Fast, Gate, Normal, Extensive, Benchmark = range(5)
68 68
69 def getSPECjvm2008(benchArgs = None, skipKitValidation=False, warmupTime=None, iterationTime=None): 69 def getSPECjvm2008(benchArgs = [], skipKitValidation=False, warmupTime=None, iterationTime=None):
70 70
71 specjvm2008 = mx.get_env('SPECJVM2008') 71 specjvm2008 = mx.get_env('SPECJVM2008')
72 if specjvm2008 is None or not exists(join(specjvm2008, 'SPECjvm2008.jar')): 72 if specjvm2008 is None or not exists(join(specjvm2008, 'SPECjvm2008.jar')):
73 mx.abort('Please set the SPECJVM2008 environment variable to a SPECjvm2008 directory') 73 mx.abort('Please set the SPECJVM2008 environment variable to a SPECjvm2008 directory')
74 74