Skip to content

Commit 4f683e3

Browse files
author
Andrija Kolic
committed
[GR-66891] Exclude micronaut-pegasus from CE Barista benchmark list
PullRequest: graal/21946
2 parents e9cadd4 + 1ef6b7c commit 4f683e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

substratevm/mx.substratevm/mx_substratevm_benchmark.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,14 @@ def benchmarkList(self, bmSuiteArgs):
294294

295295
def default_stages(self) -> List[str]:
296296
if self.benchmarkName() == "micronaut-pegasus":
297+
if (
298+
self.execution_context and
299+
self.execution_context.virtual_machine and
300+
self.execution_context.virtual_machine.config_name() and
301+
self.execution_context.virtual_machine.config_name().endswith("-ce")
302+
):
303+
# fails on CE due to --enable-sbom EE only option injected from upstream pom (GR-66891)
304+
return []
297305
# The 'agent' stage is not supported, as currently we cannot run micronaut-pegasus on the JVM (GR-59793)
298306
return ["instrument-image", "instrument-run", "image", "run"]
299307
return super().default_stages()

0 commit comments

Comments
 (0)