Mercurial > hg > truffle
diff mx/commands.py @ 6294:b0fc02623974
exclude TestPrograms from JaCoCo processing
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 28 Aug 2012 13:55:11 +0200 |
parents | 633136426f26 |
children | 2a819543cc45 |
line wrap: on
line diff
--- a/mx/commands.py Tue Aug 28 13:54:35 2012 +0200 +++ b/mx/commands.py Tue Aug 28 13:55:11 2012 +0200 @@ -582,7 +582,7 @@ # Exclude all compiler tests and snippets excludes = ['com.oracle.graal.compiler.tests.*', 'com.oracle.graal.jtt.*'] for p in mx.projects(): - excludes += _find_classes_with_annotations(p, None, ['@Snippet', '@ClassSubstitution'], includeInnerClasses=True) + excludes += _find_classes_with_annotations(p, None, ['@Snippet', '@ClassSubstitution', '@Test'], includeInnerClasses=True) excludes += p.find_classes_with_matching_source_line(None, lambda line: 'JaCoCo Exclude' in line, includeInnerClasses=True) includes = ['com.oracle.graal.*', 'com.oracle.max.*']