Skip to content

Commit c9cb1be

Browse files
committed
Exclude Truffle test packages from our coverage gates
This reduces the length of the generated jacoco agent args commandline so we can run it
1 parent 7bc886f commit c9cb1be

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,20 @@ def get_boolean_env(name, default=False):
133133
WIN32 = sys.platform == "win32"
134134
BUILD_NATIVE_IMAGE_WITH_ASSERTIONS = get_boolean_env('BUILD_WITH_ASSERTIONS', CI)
135135

136+
mx_gate.add_jacoco_excludes([
137+
"com.oracle.graal.python.pegparser.sst",
138+
"com.oracle.graal.python.pegparser.test",
139+
"com.oracle.truffle.api.staticobject.test",
140+
"com.oracle.truffle.regex.tregex.test",
141+
"com.oracle.truffle.tck",
142+
"com.oracle.truffle.tools.chromeinspector.test",
143+
"com.oracle.truffle.tools.coverage.test",
144+
"com.oracle.truffle.tools.dap.test",
145+
"com.oracle.truffle.tools.profiler.test",
146+
"org.graalvm.tools.insight.test",
147+
"org.graalvm.tools.lsp.test",
148+
])
149+
136150
if CI and not os.environ.get("GRAALPYTEST_FAIL_FAST"):
137151
os.environ["GRAALPYTEST_FAIL_FAST"] = "true"
138152

0 commit comments

Comments
 (0)