Skip to content

Commit 333b1d0

Browse files
committed
[GR-63443] Exclude some Compiler projects from jacoco
PullRequest: graal/20372
2 parents f907f3f + 720cf25 commit 333b1d0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

compiler/mx.compiler/suite.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
"java.compiler" # javax.annotation.processing.*
204204
],
205205
"checkPackagePrefix": "false",
206+
"jacoco" : "exclude",
206207
"checkstyle" : "jdk.graal.compiler",
207208
"javaCompliance" : "21+",
208209
},
@@ -300,6 +301,7 @@
300301
"jdk.vm.ci.code"
301302
],
302303
},
304+
"jacoco" : "exclude",
303305
"checkstyle" : "jdk.graal.compiler",
304306
"javaCompliance" : "24+",
305307
"forceJavac": True,
@@ -325,6 +327,7 @@
325327
"annotationProcessors" : ["mx:JMH_1_21"],
326328
"spotbugsIgnoresGenerated" : True,
327329
"workingSets" : "Graal,Bench",
330+
"jacoco" : "exclude",
328331
"testProject" : True,
329332
"graalCompilerSourceEdition": "ignore",
330333
},
@@ -377,6 +380,7 @@
377380
],
378381
"checkstyle" : "jdk.graal.compiler",
379382
"javaCompliance" : "21+",
383+
"jacoco" : "exclude",
380384
"workingSets" : "Graal,Test",
381385
"graalCompilerSourceEdition": "ignore",
382386
},
@@ -413,6 +417,8 @@
413417
"jdk.vm.ci.hotspot",
414418
],
415419
},
420+
# Code coverage is not done when building libgraal
421+
"jacoco" : "exclude",
416422
"annotationProcessors" : [
417423
"GRAAL_PROCESSOR",
418424
],
@@ -439,6 +445,7 @@
439445
],
440446
},
441447
"spotbugs": "false",
448+
"jacoco" : "exclude",
442449
},
443450
},
444451

@@ -544,7 +551,7 @@
544551
"truffle:TRUFFLE_COMPILER",
545552
],
546553
"allowsJavadocWarnings": True,
547-
"description": "The GraalVM compiler and the Graal-truffle optimizer.",
554+
"description": "The GraalVM compiler. This can be used to speed up Graal Languages on OpenJDK distributions that do not ship the Graal compiler. To enable it, -XX:+EnableJVMCI is required and the GraalVM compiler JAR and its dependencies need to be on the --upgrade-module-path.",
548555
"maven" : {
549556
"artifactId" : "compiler",
550557
"tag": ["default", "public"],

0 commit comments

Comments
 (0)