From f3397dfecacfeb0720a3329895ab71c982f5b8c9 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Wed, 10 Nov 2021 11:19:00 +0300 Subject: [PATCH] [Native][tests] Fix "outputChecker cannot be serialized" Gradle issue --- .../src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/kotlin-native/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 77414915c06..5c9a0581e23 100644 --- a/kotlin-native/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/kotlin-native/build-tools/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -52,7 +52,7 @@ class RunExternalTestGroup extends JavaExec implements CompilerRunner { @Optional String goldValue = null - @Input + @Internal // Checks test's output against gold value and returns true if the output matches the expectation Function outputChecker = { str -> (goldValue == null || goldValue == str) }