From 9d486f4a1a092a9e04242dac7bf9df22e4387e97 Mon Sep 17 00:00:00 2001 From: volodya-lombrozo Date: Mon, 2 Dec 2024 13:18:26 +0300 Subject: [PATCH] feat(#928): don't print EO if Java version is less than 11 --- src/it/bytecode-to-eo/pom.xml | 41 +++++++++++++++++++++-------- src/it/bytecode-to-eo/verify.groovy | 1 - 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/src/it/bytecode-to-eo/pom.xml b/src/it/bytecode-to-eo/pom.xml index 85b7df7ec..99c447e45 100644 --- a/src/it/bytecode-to-eo/pom.xml +++ b/src/it/bytecode-to-eo/pom.xml @@ -83,19 +83,38 @@ SOFTWARE. ${project.build.directory}/generated-sources/jeo-phi - - convert-xmir-to-eo - process-classes - - print - - - ${project.build.directory}/generated-sources/jeo-xmir - ${project.build.directory}/generated-sources/jeo-eo - - + + + Print EO + + [11,) + + + + + org.eolang + eo-maven-plugin + 0.44.0 + + + convert-xmir-to-eo + process-classes + + print + + + ${project.build.directory}/generated-sources/jeo-xmir + ${project.build.directory}/generated-sources/jeo-eo + + + + + + + + diff --git a/src/it/bytecode-to-eo/verify.groovy b/src/it/bytecode-to-eo/verify.groovy index 736ba7488..43de3a5fd 100644 --- a/src/it/bytecode-to-eo/verify.groovy +++ b/src/it/bytecode-to-eo/verify.groovy @@ -30,6 +30,5 @@ assert log.contains("WithoutPackage.class' disassembled to ") assert log.contains("BUILD SUCCESS") //Check that we have generated XMIR object file. assert new File(basedir, 'target/generated-sources/jeo-xmir/org/eolang/jeo/Application.xmir').exists() -assert new File(basedir, 'target/generated-sources/jeo-eo/org/eolang/jeo/Application.eo').exists() assert new File(basedir, 'target/generated-sources/jeo-phi/org/eolang/jeo/Application.phi').exists() true \ No newline at end of file