diff options
author | Thibault Gagnaux <tgagnaux@gmail.com> | 2021-11-28 12:35:24 +0100 |
---|---|---|
committer | Thibault Gagnaux <tgagnaux@gmail.com> | 2021-11-28 12:35:24 +0100 |
commit | 0d745880294a04b9ef72fa08ae46b1d5887d7200 (patch) | |
tree | 669b95deb59a8575891e8b547aa614e126a5165a | |
parent | 8fed7811e535d3f8892ea16f7587e461ef1ee98e (diff) | |
download | frege-gradle-plugin-0d745880294a04b9ef72fa08ae46b1d5887d7200.tar.gz frege-gradle-plugin-0d745880294a04b9ef72fa08ae46b1d5887d7200.tar.bz2 frege-gradle-plugin-0d745880294a04b9ef72fa08ae46b1d5887d7200.zip |
fix: debug if `replFrege` task breaks build on windows
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index f64913d..3e1ef66 100644 --- a/build.gradle +++ b/build.gradle @@ -40,7 +40,9 @@ tasks.register('functionalTest', Test) { check.dependsOn functionalTest tasks.withType(Test).configureEach { - useJUnitPlatform() + useJUnitPlatform { + includeTags 'debug' + } } dependencies { diff --git a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java index 395d26f..c60053b 100644 --- a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java +++ b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java @@ -34,6 +34,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayNameGenerator; import org.junit.jupiter.api.IndicativeSentencesGeneration; import org.junit.jupiter.api.Nested; +import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.TestInstance.Lifecycle; @@ -363,6 +364,7 @@ public class FregePluginFunctionalTest { @IndicativeSentencesGeneration(separator = " -> ", generator = DisplayNameGenerator.ReplaceUnderscores.class) class Repl_frege_task_works { @Test + @Tag("debug") void given_minimal_build_file_config() throws Exception { Files.createDirectories(testProjectDir.toPath().resolve(Paths.get("src", "main", "frege"))); String minimalBuildFileConfig = createFregeSection( |