comparison mx/mx_graal.py @ 18346:ddd7829c45b1

made HotSpotCodeCacheProvider attempt to load and use the hcfdis tool
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Nov 2014 12:55:21 +0100
parents 13273385abb5
children 1e7b53d7489d
comparison
equal deleted inserted replaced
18345:343ca85103f2 18346:ddd7829c45b1
1144 def _unittest(args, annotations, prefixCp="", blacklist=None, whitelist=None, verbose=False, fail_fast=False, enable_timing=False, regex=None, color=False, eager_stacktrace=False, gc_after_test=False): 1144 def _unittest(args, annotations, prefixCp="", blacklist=None, whitelist=None, verbose=False, fail_fast=False, enable_timing=False, regex=None, color=False, eager_stacktrace=False, gc_after_test=False):
1145 testfile = os.environ.get('MX_TESTFILE', None) 1145 testfile = os.environ.get('MX_TESTFILE', None)
1146 if testfile is None: 1146 if testfile is None:
1147 (_, testfile) = tempfile.mkstemp(".testclasses", "graal") 1147 (_, testfile) = tempfile.mkstemp(".testclasses", "graal")
1148 os.close(_) 1148 os.close(_)
1149 coreCp = mx.classpath(['com.oracle.graal.test']) 1149
1150 coreCp = mx.classpath(['com.oracle.graal.test', 'HCFDIS'])
1150 1151
1151 coreArgs = [] 1152 coreArgs = []
1152 if verbose: 1153 if verbose:
1153 coreArgs.append('-JUnitVerbose') 1154 coreArgs.append('-JUnitVerbose')
1154 if fail_fast: 1155 if fail_fast: