diff options
| -rw-r--r-- | build.gradle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index f16006bc..33c5bc40 100644 --- a/build.gradle +++ b/build.gradle @@ -362,14 +362,15 @@ tasks.withType(GenerateModuleMetadata) { task writeActionsTestMatrix() { doLast { def testMatrix = [] - file('src/test/groovy/net/fabricmc/loom/test/integration').eachFile { + file('src/test/groovy/net/fabricmc/loom/test/integration').traverse { if (it.name.endsWith("Test.groovy")) { if (it.name.endsWith("ReproducibleBuildTest.groovy")) { // This test gets a special case to run across all os's return } - def className = it.name.replace(".groovy", "") + def className = it.path.toString().replace(".groovy", "") + className = className.substring(className.lastIndexOf("integration/") + "integration/".length()).replace('/', '.') testMatrix.add("net.fabricmc.loom.test.integration.${className}") } } |
