Dmitriy Dolovov
9551e0fff2
[Commonizer] Introduce MetadataDeclarationsComparator for metadata-based comparison of KLIBs
2021-02-02 23:10:51 +03:00
Dmitriy Dolovov
701374a646
[Commonizer] Embed :kotlinx-metadata-klib into the commonizer Jar
2021-02-02 23:10:45 +03:00
Dmitriy Dolovov
08cc904a71
[Commonizer] Restore lost nullability for underlying types in TAs
2021-02-02 23:10:39 +03:00
Dmitriy Dolovov
85f79695b9
[Commonizer] Avoid leaking non-commonized underlying types in TAs
2021-02-02 23:10:32 +03:00
Dmitriy Novozhilov
4bf6e58f2b
[TD] Fix directive order in codegen testdata
2021-02-02 20:37:47 +03:00
Zalim Bashorov
3f10914f05
[JS] Replace usages of FileUtil.loadTextAndClose with functions from stdlib to avoid crashes on files larger than 10MiB
2021-02-02 18:47:44 +03:00
Anton Bannykh
165533fdb7
JS DCE: use Multimaps to reduce Node fields RAM
2021-02-02 18:39:35 +03:00
Anton Bannykh
f42f2fa743
JS DCE: disable logging by default
...
Based on Vladislav Saifulin's PR #4031
2021-02-02 18:38:50 +03:00
Anton Bannykh
26ce6b5131
JS DCE: inline Qualifier class to reduce RAM usage
2021-02-02 18:38:49 +03:00
Anton Bannykh
bbc6d2b993
JS DCE: use less LinkedHashSets
2021-02-02 18:38:49 +03:00
Anton Bannykh
3c0b226344
JS DCE: create collections on demand
...
Based on Vladislav Saifulin's PR #4031
2021-02-02 18:38:49 +03:00
Dmitriy Novozhilov
0ebb39a26e
[Test] Exclude multimodule tests from codegen tests on android
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
17d59e0daa
[Test] Support skip of android codegen tests with new ASSERTION_MODE directive
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
81ba7aa833
[Test] Use javac for compilation test java files from runtime by default
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
e9cb30b4f3
[Test] Add ability to use custom CompilerConfigurationProvider
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
c432efc364
[Build] Extract configuration of JUnit5 dependencies to common helper in buildSrc
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
dea3c954f1
[Test] Add ability to stop test pipeline if there was an exception in handler
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
2ae35b0b08
[Test] Move fir backend tests back to :compiler:fir2ir module
2021-02-02 17:54:58 +03:00
Dmitriy Novozhilov
e79d02f482
[Test] Don't generate extends clause for nested classes in generated tests for JUnit5
...
This is fine since all nested classes in tests are inners by JUnit5
specification, so they will see `runTest` method from outer root class
2021-02-02 17:54:58 +03:00
Dmitriy Novozhilov
a4e9ab90a0
[Test] Migrate :tests-different-jdk on runners which are using JUnit5
2021-02-02 17:54:51 +03:00
Dmitriy Novozhilov
c969a34644
[Test] Set static field with application to null after tests are completed
2021-02-02 17:54:51 +03:00
Dmitriy Novozhilov
53e5aa4364
[Test] Don't use PSI based class reading in codegen BB tests
...
#KT-34826 is rela ted
2021-02-02 17:54:51 +03:00
Dmitriy Novozhilov
09ec3f6eaf
[Test] Support various jdk targets in test infrastructure
2021-02-02 17:54:51 +03:00
Dmitriy Novozhilov
93741ced5c
[Test] Read default target version from sys property in new test infra
2021-02-02 17:54:50 +03:00
Dmitriy Novozhilov
a3ad626f99
[Test] Support invoking box method in BB tests in separate process
2021-02-02 17:54:50 +03:00
Dmitriy Novozhilov
b351ca6bd4
[Test] Regenerate spec tests
2021-02-02 17:54:50 +03:00
Dmitriy Novozhilov
3199ce03a6
[Test] Merge box against java testdata into codegen black box testsdata
2021-02-02 17:54:49 +03:00
Dmitriy Novozhilov
e62b118351
[TD] Ignore JS backends in boxAgainstJava tests
2021-02-02 17:54:49 +03:00
Dmitriy Novozhilov
99cb85ab00
[Test] Merge box against java tests into codegen black box tests
2021-02-02 17:54:47 +03:00
Dmitriy Novozhilov
6f3713af5f
[Test] Migrate AbstractIrCompileKotlinAgainstKotlinTest to new infrastructure
2021-02-02 17:53:53 +03:00
Dmitriy Novozhilov
49c2bfe637
[Test] Enable SMAP dump handler in boxInline tests
2021-02-02 17:53:53 +03:00
Dmitriy Novozhilov
64a300bfcd
[TD] Update testdata according to previous commit
2021-02-02 17:53:52 +03:00
Dmitriy Novozhilov
3a0eee64b8
[Test] Migrate all jvm tests runners for boxInline tests
2021-02-02 17:53:50 +03:00
Dmitriy Novozhilov
8973e3f362
[TD] Update fir directives in boxInline tests
2021-02-02 17:50:07 +03:00
Dmitriy Novozhilov
92e21e76ba
[Test] Implement SMAP dump handler
2021-02-02 17:50:07 +03:00
Dmitriy Novozhilov
e3ab3d6be3
[Test] Align lines in TestFile with lines in real testdata file
2021-02-02 17:50:07 +03:00
Dmitriy Novozhilov
60e0831c11
[Test] Introduce two module structure transformers for codegen test
2021-02-02 17:50:07 +03:00
Dmitriy Novozhilov
13a778fd9c
[Test] Add ability to freely transform module structure which was parsed from directive
...
Service ModuleStructureExtractor may break readabilty of test so it
should be used very carefully
Originally it is created for box inline test where we have different
runners on same testdata where one runner assumes that all files
in test in same module and other that they in different ones
2021-02-02 17:50:06 +03:00
Dmitriy Novozhilov
fc83dc17fe
[Test] Support USE_OLD_INLINE_CLASSES_MANGLING_SCHEME directive
2021-02-02 17:50:06 +03:00
Dmitriy Novozhilov
3f758a3fa2
[Test] Make BytecodeInliningHandler for new infrastructure
2021-02-02 17:50:06 +03:00
Dmitriy Novozhilov
0768a7089c
[TD] Fix friend modules
2021-02-02 17:50:06 +03:00
Dmitriy Novozhilov
5075484c8e
[TD] Update directives in kotlinAgainstKotlin testdata
2021-02-02 17:50:05 +03:00
Dmitriy Novozhilov
9ba41c5b88
[Test] Improve error reporting if there are too many values passed to directive
2021-02-02 17:50:05 +03:00
Dmitriy Novozhilov
5c8d555808
[Test] Move KotlinAgainstKotlin tests under BlackBoxCodegen tests
2021-02-02 17:50:05 +03:00
Mikhael Bogdanov
1ea4fa4464
Fix android test with type annotations. Remove obsolete JVM 8 flavors
...
Remove some new test cause their originals would be executed on JvmTarget6OnJvm8
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
c13f38f6df
Support proper frame maps for enumValues
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
1a044e5af4
Support proper frame maps for enum valueOf
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
5b64ceceb3
JVM_IR. Generate additional checkcast for when/try epressions to avoid frame map problems on reification
2021-02-02 14:32:50 +01:00
Mikhael Bogdanov
16928d6e3f
Don't remove checkcast for reified values
...
#KT-35511 Fixed
2021-02-02 14:32:50 +01:00
Mikhail Glukhikh
0b0ba7d987
Don't use warningsAsError in compiler modules if useFIR is ON
2021-02-02 16:29:27 +03:00