# HG changeset patch # User Doug Simon # Date 1346154911 -7200 # Node ID b0fc026239749132bf8306e31d55415b3ee2b22d # Parent 6550737d7807f3c6713de006f3f2e59a211bb364 exclude TestPrograms from JaCoCo processing diff -r 6550737d7807 -r b0fc02623974 graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/TestPrograms.java --- a/graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/TestPrograms.java Tue Aug 28 13:54:35 2012 +0200 +++ b/graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/TestPrograms.java Tue Aug 28 13:55:11 2012 +0200 @@ -24,6 +24,8 @@ import java.util.*; +//JaCoCo Exclude + public class TestPrograms { public static void helloWorldTest() { System.out.println("Hello world!"); diff -r 6550737d7807 -r b0fc02623974 mx/commands.py --- 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.*']