Mercurial > hg > truffle
comparison mx/mx_graal.py @ 16314:f57cf459f5d3
[SPARC] Adding deoptimization handler foreign call
LoadDataAddressOp emitting now absolute addresses. (May be improved in future)
Removing epilogue baseclass/block end marking interface from LeaveCurrentStackFrameOp and LeaveDeoptimizedStackFrameOp to conform with the assertion in com.oracle.graal.lir.LIR.verifyBlock
Implement LIRGenerator.emitDeoptimizationFetchUnrollInfoCall for SPARC
Removing my changes for JUnit reporting from testrunner.
author | Stefan Anzinger <stefan.anzinger@gmail.com> |
---|---|
date | Sat, 31 May 2014 00:30:26 +0200 |
parents | 151fe6b1e511 |
children | e497100e1fbf |
comparison
equal
deleted
inserted
replaced
16313:151fe6b1e511 | 16314:f57cf459f5d3 |
---|---|
947 else: | 947 else: |
948 projs = set() | 948 projs = set() |
949 for t in tests: | 949 for t in tests: |
950 found = False | 950 found = False |
951 for c, p in candidates.iteritems(): | 951 for c, p in candidates.iteritems(): |
952 if fnmatch.fnmatch(c, t): | 952 if t in c: |
953 found = True | 953 found = True |
954 classes.append(c) | 954 classes.append(c) |
955 projs.add(p.name) | 955 projs.add(p.name) |
956 if not found: | 956 if not found: |
957 mx.log('warning: no tests matched by substring "' + t) | 957 mx.log('warning: no tests matched by substring "' + t) |
977 javaClass = join(mxdir, name + '.class') | 977 javaClass = join(mxdir, name + '.class') |
978 testfile = os.environ.get('MX_TESTFILE', None) | 978 testfile = os.environ.get('MX_TESTFILE', None) |
979 if testfile is None: | 979 if testfile is None: |
980 (_, testfile) = tempfile.mkstemp(".testclasses", "graal") | 980 (_, testfile) = tempfile.mkstemp(".testclasses", "graal") |
981 os.close(_) | 981 os.close(_) |
982 corecp = mx.classpath(['com.oracle.graal.test', 'ant']) | 982 corecp = mx.classpath(['com.oracle.graal.test']) |
983 | 983 |
984 if not exists(javaClass) or getmtime(javaClass) < getmtime(javaSource): | 984 if not exists(javaClass) or getmtime(javaClass) < getmtime(javaSource): |
985 subprocess.check_call([mx.java().javac, '-cp', corecp, '-d', mxdir, javaSource]) | 985 subprocess.check_call([mx.java().javac, '-cp', corecp, '-d', mxdir, javaSource]) |
986 | 986 |
987 coreArgs = [] | 987 coreArgs = [] |