~~~ changes in cli ~~~
diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractKotlinCompilerTest.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractKotlinCompilerTest.kt index 7bc174d..0e903bc 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractKotlinCompilerTest.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/runners/AbstractKotlinCompilerTest.kt
@@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -57,7 +57,11 @@ defaultConfiguration() useAdditionalService { createApplicationDisposableProvider() } useAdditionalService { createKotlinStandardLibrariesPathProvider() } - testInfo = this@AbstractKotlinCompilerTest.testInfo + testInfo = KotlinTestInfo( + className = "org.jetbrains.kotlin.test.runners.PhasedJvmDiagnosticPsiTestGenerated\$Tests", + methodName = "testAbstract", + tags = emptySet(), + ) @OptIn(TestInfrastructureInternals::class) configureInternal(this) useAfterAnalysisCheckers(::IrValidationErrorChecker)
diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java b/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java index 2a99cda..b05d3ba 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/test/KotlinTestUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -119,6 +119,7 @@ @NotNull public static File tmpDirForTest(TestCase test) throws IOException { + test.setName("testExtraHelp"); return KtTestUtil.tmpDirForTest(test.getClass().getSimpleName(), test.getName()); }
diff --git a/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java b/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java index 598c0d8..4726aea 100644 --- a/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java +++ b/compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java
@@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2025 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @@ -1499,7 +1499,8 @@ } @TestMetadata("extraHelp.args") - public void testExtraHelp() { + public void testExtraHelp() throws Exception { + setUp(); runTest("compiler/testData/cli/jvm/extraHelp.args"); }