From 7d28cbaf0807a73a5efc0641c998493850807943 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 3 Jan 2025 22:08:14 +0000 Subject: [PATCH] Fix test --- .../net/fabricmc/loom/test/integration/RunConfigTest.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/groovy/net/fabricmc/loom/test/integration/RunConfigTest.groovy b/src/test/groovy/net/fabricmc/loom/test/integration/RunConfigTest.groovy index 06f35791a..e9790ecc6 100644 --- a/src/test/groovy/net/fabricmc/loom/test/integration/RunConfigTest.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/integration/RunConfigTest.groovy @@ -199,7 +199,9 @@ class RunConfigTest extends Specification implements GradleProjectTestTrait { ''' // Copy tracy into the project - new File(gradle.projectDir, "tracy-capture").bytes = tracyCapture.bytes + def projectTracyCapture = new File(gradle.projectDir, "tracy-capture") + projectTracyCapture.bytes = tracyCapture.bytes + projectTracyCapture.setExecutable(true) when: def result = gradle.run(task: "prodClient")