This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch windows in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git
commit fb85e0e80fd25d3f0dc11955e818a373bebbcf38 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Tue Dec 3 07:31:43 2024 -0500 skip Unixz dependent test on Windows --- src/test/java/org/apache/maven/plugins/jlink/JLinkMojoTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/org/apache/maven/plugins/jlink/JLinkMojoTest.java b/src/test/java/org/apache/maven/plugins/jlink/JLinkMojoTest.java index d66678c..58ddc85 100644 --- a/src/test/java/org/apache/maven/plugins/jlink/JLinkMojoTest.java +++ b/src/test/java/org/apache/maven/plugins/jlink/JLinkMojoTest.java @@ -23,6 +23,7 @@ import java.lang.reflect.Field; import java.util.List; import org.apache.maven.shared.utils.cli.Commandline; +import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; @@ -46,6 +47,10 @@ public class JLinkMojoTest { @Test void single_quotes_shell_command() throws Exception { + + Assumptions.assumeFalse("windows".equals(System.getProperty("os.name"))); + // TODO add a test for Windows + // given JLinkMojo mojo = new JLinkMojo(); Field stripDebug = mojo.getClass().getDeclaredField("stripDebug");