From 17ba3508682b37311b8ed7a23f6eee0d33811895 Mon Sep 17 00:00:00 2001 From: Ting-Yuan Huang Date: Sun, 28 Mar 2021 21:15:52 -0700 Subject: [PATCH] AnalysisHandlerExtensionTest: set output dir for JVM --- .../org/jetbrains/kotlin/cli/AnalysisHandlerExtensionTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/tests/org/jetbrains/kotlin/cli/AnalysisHandlerExtensionTest.kt b/compiler/tests/org/jetbrains/kotlin/cli/AnalysisHandlerExtensionTest.kt index 0cb6f752c31..55a02a3ce3f 100644 --- a/compiler/tests/org/jetbrains/kotlin/cli/AnalysisHandlerExtensionTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/cli/AnalysisHandlerExtensionTest.kt @@ -58,7 +58,7 @@ class AnalysisHandlerExtensionTest : TestCaseWithTmpdir() { } fun testShouldNotGenerateCodeJVM() { - runTest(K2JVMCompiler(), classNotFound) + runTest(K2JVMCompiler(), classNotFound, listOf("-d", tmpdir.resolve("out").absolutePath)) } fun testShouldNotGenerateCodeJS() { @@ -70,7 +70,7 @@ class AnalysisHandlerExtensionTest : TestCaseWithTmpdir() { } fun testRepeatedAnalysisJVM() { - runTest(K2JVMCompiler(), repeatedAnalysis) + runTest(K2JVMCompiler(), repeatedAnalysis, listOf("-d", tmpdir.resolve("out").absolutePath)) } fun testRepeatedAnalysisJS() {