Description: ignoring the files that touch subdirs of $HOME Groovy files are looked for by grape tests, see the output of those tests when we let them run. Author: Pierre Gruet Forwarded: not-needed Last-Update: 2021-05-14 --- a/src/test/java/ch/grengine/GrengineGrapeTest.java +++ b/src/test/java/ch/grengine/GrengineGrapeTest.java @@ -33,6 +33,7 @@ import groovy.grape.Grape; import groovy.lang.GroovyClassLoader; import org.codehaus.groovy.control.CompilerConfiguration; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.instanceOf; @@ -44,6 +45,7 @@ class GrengineGrapeTest { + @Disabled("touches $HOME") @Test void testHelloWorldWithGrape_unwrapped() { printVersions(); @@ -52,6 +54,7 @@ "println \"Grape: 'C' is upper case: ${Ascii.isUpperCase('C' as char)}\""); } + @Disabled("touches $HOME") @Test void testHelloWorldWithGrape_wrapped() { printVersions(); @@ -70,6 +73,7 @@ System.out.println("Groovy: " + GroovyClassLoader.class.getPackage().getImplementationVersion()); } + @Disabled("touches $HOME") @Test void testNoGrapeByDefault() { try { --- a/src/test/java/ch/grengine/code/groovy/DefaultGroovyCompilerTest.java +++ b/src/test/java/ch/grengine/code/groovy/DefaultGroovyCompilerTest.java @@ -47,6 +47,7 @@ import org.codehaus.groovy.control.CompilerConfiguration; import org.codehaus.groovy.control.customizers.ImportCustomizer; import org.hamcrest.CoreMatchers; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static ch.grengine.TestUtil.assertThrowsMessageIs; @@ -828,6 +829,7 @@ return merged; } + @Disabled("touches $HOME") @Test void testGrabs() { try { @@ -969,6 +971,7 @@ } } + @Disabled("touches $HOME") @Test void testConcurrentGrabs() { try { @@ -1053,4 +1056,4 @@ } } -} \ No newline at end of file +}