comparison mx.truffle/mx_truffle.py @ 22361:3ed94f641d52

pylint fix
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Thu, 12 Nov 2015 11:50:42 -0800
parents 9a6f0c689576
children b07854a19ab4 5573f12b94f8
comparison
equal deleted inserted replaced
22360:07e5178604d4 22361:3ed94f641d52
46 46
47 def slcoverage(args): 47 def slcoverage(args):
48 """Demo: run an SL program with coverage counts printed when done""" 48 """Demo: run an SL program with coverage counts printed when done"""
49 vmArgs, slArgs = mx.extract_VM_args(args) 49 vmArgs, slArgs = mx.extract_VM_args(args)
50 mx.run_java(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl.tools"), "com.oracle.truffle.sl.tools.SLCoverage"] + slArgs) 50 mx.run_java(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl.tools"), "com.oracle.truffle.sl.tools.SLCoverage"] + slArgs)
51 51
52 def sldebug(args): 52 def sldebug(args):
53 """run a simple command line debugger for the Simple Language""" 53 """run a simple command line debugger for the Simple Language"""
54 vmArgs, slArgs = mx.extract_VM_args(args, useDoubleDash=True) 54 vmArgs, slArgs = mx.extract_VM_args(args, useDoubleDash=True)
55 mx.run_java(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl.tools"), "com.oracle.truffle.sl.tools.debug.SLREPLServer"] + slArgs) 55 mx.run_java(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl.tools"), "com.oracle.truffle.sl.tools.debug.SLREPLServer"] + slArgs)
56 56