Mercurial > hg > graal-compiler
comparison mx/mx_graal.py @ 18107:2579d0ac7ad6
jacoco: disable it for com.oracle.graal.truffle* projects
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 16 Oct 2014 14:23:04 +0200 |
parents | 7a771b48e392 |
children | cc1d1fc17338 |
comparison
equal
deleted
inserted
replaced
18106:7a771b48e392 | 18107:2579d0ac7ad6 |
---|---|
1000 mx.make_eclipse_launch(args, 'graal-' + build, name=None, deps=mx.project('com.oracle.graal.hotspot').all_deps([], True)) | 1000 mx.make_eclipse_launch(args, 'graal-' + build, name=None, deps=mx.project('com.oracle.graal.hotspot').all_deps([], True)) |
1001 if _jacoco == 'on' or _jacoco == 'append': | 1001 if _jacoco == 'on' or _jacoco == 'append': |
1002 jacocoagent = mx.library("JACOCOAGENT", True) | 1002 jacocoagent = mx.library("JACOCOAGENT", True) |
1003 # Exclude all compiler tests and snippets | 1003 # Exclude all compiler tests and snippets |
1004 | 1004 |
1005 baseExcludes = ['com.oracle.graal.compiler.test', 'com.oracle.graal.jtt', 'com.oracle.graal.api.meta.test', 'com.oracle.truffle.api.test', 'com.oracle.truffle.api.dsl.test', 'com.oracle.graal.compiler.hsail.test'] | 1005 baseExcludes = ['com.oracle.graal.compiler.test', 'com.oracle.graal.jtt', 'com.oracle.graal.api.meta.test', 'com.oracle.truffle.api.test', \ |
1006 'com.oracle.truffle.api.dsl.test', 'com.oracle.graal.truffle', 'com.oracle.graal.truffle.test', 'com.oracle.graal.compiler.hsail.test'] | |
1006 def _filter(l): | 1007 def _filter(l): |
1007 # filter out specific classes which are already covered by a baseExclude package | 1008 # filter out specific classes which are already covered by a baseExclude package |
1008 return [clazz for clazz in l if not any([clazz.startswith(package) for package in baseExcludes])] | 1009 return [clazz for clazz in l if not any([clazz.startswith(package) for package in baseExcludes])] |
1009 excludes = [] | 1010 excludes = [] |
1010 for p in mx.projects(): | 1011 for p in mx.projects(): |