From 5acf8606c8bbd51d080f1cfe77b5a49c89c93c7b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 30 Jun 2026 20:18:22 +0100 Subject: Early exit if Java output path doesn't exist --- src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java index 64f7b2c..d40eae0 100644 --- a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java +++ b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java @@ -32,6 +32,10 @@ public class ExampleTests { private void verifyJavaOutput(ExampleSet exampleSet) throws NoSuchAlgorithmException, IOException, InterruptedException { var javaProjectPath = exampleSet.path().resolve("output/java"); + if (!javaProjectPath.toFile().exists()) { + return; + } + var currentHash = hashJavaProject(javaProjectPath); var lastTestRunPath = javaProjectPath.resolve("last-test-run.properties"); -- cgit v1.2.3