Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 15913:67e0015b21d6
Use new jacocoreport version
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 26 May 2014 18:18:19 +0200 |
parents | 7d1690e145ae |
children | 7c84f0ce7cae |
comparison
equal
deleted
inserted
replaced
15912:c44f617fb8d7 | 15913:67e0015b21d6 |
---|---|
1832 out = 'coverage' | 1832 out = 'coverage' |
1833 if len(args) == 1: | 1833 if len(args) == 1: |
1834 out = args[0] | 1834 out = args[0] |
1835 elif len(args) > 1: | 1835 elif len(args) > 1: |
1836 mx.abort('jacocoreport takes only one argument : an output directory') | 1836 mx.abort('jacocoreport takes only one argument : an output directory') |
1837 mx.run_java(['-jar', jacocoreport.get_path(True), '-in', 'jacoco.exec', '-g', join(_graal_home, 'graal'), out]) | 1837 mx.run_java(['-jar', jacocoreport.get_path(True), '--in', 'jacoco.exec', '--out', out] + [p.dir for p in mx.projects()]) |
1838 | 1838 |
1839 def sl(args): | 1839 def sl(args): |
1840 """run an SL program""" | 1840 """run an SL program""" |
1841 vmArgs, slArgs = _extract_VM_args(args) | 1841 vmArgs, slArgs = _extract_VM_args(args) |
1842 vm(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl"), "com.oracle.truffle.sl.SLMain"] + slArgs) | 1842 vm(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl"), "com.oracle.truffle.sl.SLMain"] + slArgs) |