Skip to content

Testing how many muted tests remain and their causes - DO NOT SUBMIT#5896

Draft
zardilior wants to merge 16 commits intomasterfrom
zardilior/all-jklib-test-improvements
Draft

Testing how many muted tests remain and their causes - DO NOT SUBMIT#5896
zardilior wants to merge 16 commits intomasterfrom
zardilior/all-jklib-test-improvements

Conversation

@zardilior
Copy link
Copy Markdown
Collaborator

@zardilior zardilior commented Apr 18, 2026

From 120 -> 35

@kotlin-safe-merge
Copy link
Copy Markdown

kotlin-safe-merge Bot commented Apr 18, 2026

Code Owners

RuleOwnersApproval
/​compiler/​cli/​cli-​base/​gen/​org/​jetbrains/​kotlin/​cli/​common/​arguments/​K2JKlibCompilerArgumentsCopyGenerated.​kt, /​compiler/​cli/​cli-​base/​src/​org/​jetbrains/​kotlin/​cli/​common/​arguments/​K2JKlibCompilerArguments.​kt, /​compiler/​jklib.​tests/​@gkdn, @jDramaix, @kevinoconnor7, @zardilior
UNASSIGNED
**.​gradle.​kts@sellmair
kotlin-build-infrastructure

UNASSIGNED
/​compiler/​testData/​ir/​irText/​, /​compiler/​tests-​compiler-​utils/​
kotlin-compiler

UNASSIGNED
*
kotlin

UNASSIGNED
/​libraries/​stdlib/​jklib-​for-​test/​@DmitryNekrasov, @fzhinkin, @gkdn, @ilya-g, @jDramaix, @kevinoconnor7, @qwwdfsad, @zardilior
UNASSIGNED

… depends on java

Restore unchanged tests, remove ignore backend on test that has java depends on
… depends on java

Add missing tests where java depends on kotlin
…rom dependencies matches jvm IR tests

unmuted tests that now pass
…lib-for-test

This commit improves the `jklib-for-test` environment by replacing manually maintained stubs with actual source files from the standard library. This resolves discrepancies in the test environment and allows us to unmute several IR text tests for the JKLIB backend.

Changes:
- **Build Configuration**: Updated `libraries/stdlib/jklib-for-test/build.gradle.kts` to pull in sources for `Lambda`, `FunctionBase`, `Standard.kt`, `Arrays.kt`, and others directly from the stdlib project.
- **Source Sharing**: Included `EnumEntries.kt` from `jvm-minimal-for-test` via the build script.
- **Stub Cleanup**: Deleted manually maintained stubs in `jklib-for-test` (`JavaStubs.kt`, `TypeIntrinsics.kt`, and `EnumEntries.kt`) that are now covered by the included sources.
- **New Stubs**: Added `JvmExposeBoxed.kt` with `expect` annotations for common JVM-specific annotations to satisfy the compiler during KLIB compilation.
- **Tests**: Unmuted several tests in `compiler/testData/ir/irText/` by removing `// IGNORE_BACKEND: JKLIB`.
@zardilior zardilior force-pushed the zardilior/all-jklib-test-improvements branch from e8fae2b to 493df81 Compare April 29, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant