Irene Dea
3c4989b672
Address JDK8/JDK6 issues with computeIfAbsent
2022-01-08 15:26:44 +03:00
Irene Dea
62bde2d686
Move AttributeArray to compiler.common so frontend extension can share it
2022-01-08 15:25:06 +03:00
Ilya Kirillov
40fdb26569
Analysis LC: introduce Symbol LC tests
2021-12-27 16:23:18 +03:00
Mikhael Bogdanov
3593e45b97
Rename 'RELEASE' fields into 'JDK_RELEASE'
2021-12-23 07:26:00 +00:00
Mikhael Bogdanov
409d36c911
Basic -Xrelease option support
...
#KT-29974 Fixed
2021-12-23 07:25:57 +00:00
Sergej Jaskiewicz
3fb1096c18
[JS IR] Support IR dump in JS tests
2021-12-22 17:55:33 +00:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Ivan Kylchik
b131c52889
Drop all usages of WITH_RUNTIME directive
2021-12-13 18:07:11 +03:00
Evgeniy.Zhelenskiy
b1d1f87318
[Tests] Introduce reversible source file preprocessor
2021-12-10 18:19:17 +03:00
Evgeniy.Zhelenskiy
cb4ec932d7
[Tests] Introduce replacing source transformer
2021-12-10 18:19:17 +03:00
Evgeniy.Zhelenskiy
f0af2487c7
[Tests] Replace @JvmInline with actual OPTIONAL_JVM_INLINE_ANNOTATION
2021-12-10 18:19:16 +03:00
Evgeniy.Zhelenskiy
f92290dfdf
[Tests] Generate runTest with transformer parameter + example
2021-12-10 18:19:15 +03:00
Mikhael Bogdanov
c0ffbe03c6
Remove '-Xjvm-default-allow-non-default-inheritance' flag. Enable such inheritance by default
...
#KT-47000 Fixed
2021-12-03 06:39:38 +01:00
Sergej Jaskiewicz
887e91328f
[JS IR] Allow value classes in external decls
...
Instances of value classes are passed unboxed, unless the instance is
nullable _and_ the value class wraps another nullable value.
#KT-43224 Fixed
2021-11-29 21:51:29 +00:00
Ivan Kylchik
c59098df2f
[JS TESTS] Rewrite js ir tests using new test infrastructure
2021-11-08 23:50:34 +03:00
Ivan Kylchik
37f02390ec
[TESTS] Extract common backend directives into ConfigurationDirectives
2021-11-08 23:50:33 +03:00
Mikhael Bogdanov
afc149d460
JvmDefault. Allow non default inheritance with special flag
...
#KT-47000
2021-11-01 13:30:57 +01:00
Dmitriy Novozhilov
af0e40a0d2
[JS Test] Support RECOMPILE directive in js box tests in new infrastructure
2021-10-25 00:14:21 +03:00
Ivan Kylchik
a2d2ace71a
[JS TESTS] Rewrite js tests using new test infrastructure
2021-10-25 00:14:20 +03:00
Dmitriy Novozhilov
e56c87a17a
[Build] Move utils for generation JUnit 5 tests to :generators module
2021-10-12 17:26:18 +03:00
Dmitriy Novozhilov
a68c4ec7be
[Test] Add ability to specify main class in Box tests
...
Also slightly refactor some existing services to make them more idiomatic
2021-10-07 13:08:45 +03:00
Dmitriy Novozhilov
de7fb9606a
Migrate all JDK 9 related tests to JDK 11
2021-09-28 13:01:47 +03:00
Mikhail Glukhikh
007cf2ce7c
Rename AnalysisFlags.useExperimental to optIn
2021-09-10 16:29:18 +03:00
Mikhail Glukhikh
aedcec7715
Drop unused LanguageSettingsDirectives.EXPERIMENTAL
2021-09-10 16:29:17 +03:00
Mikhail Glukhikh
fc6403679a
Rename !USE_EXPERIMENTAL test directive to !OPT_IN
2021-09-10 16:29:16 +03:00
Ivan Kochurkin
b5ff49c903
[FIR] Consider JVM_TARGET in tests
2021-09-10 00:48:58 +03:00
Alexander Udalov
75b8d44be5
Minor, fix some typos/errors in test-infrastructure ReadMe
2021-08-24 12:28:31 +02:00
Ivan Kochurkin
c1afb6354b
[FIR] Restore UPPER_BOUND_VIOLATED and TYPE_VARIANCE_CONFLICT as errors, fix TestStep.kt
2021-08-09 18:19:58 +03:00
Dmitriy Novozhilov
0ac96b4973
[Test] Remove redundant out variance from TestStep
2021-08-03 00:26:10 +03:00
Dmitriy Novozhilov
ca40cbede5
[Test] Get rid of BackendKindExtractor
2021-08-02 20:07:49 +03:00
Dmitriy Novozhilov
d43d0071a4
[Test] Add documentation to test infrastructure
2021-08-02 20:07:48 +03:00
Dmitriy Novozhilov
a66f3d26fd
[Test] Replace three fixed phases of tests with step system
...
Now each test is just a sequence of any number of different steps. There
are two kinds of steps:
1. Run some facade
2. Run handlers of specific artifact kind
Through the test each module passed to each step (if it is compatible
by kinds of artifacts)
2021-08-02 20:07:45 +03:00
Dmitriy Novozhilov
ba48f80e53
[Test] Introduce single interface for all entities which provides directive containers and test services
2021-08-02 20:07:44 +03:00
Dmitriy Novozhilov
ca214bef30
[Test] Add ability to run box test in separate jvm for common codegen tests
2021-08-01 22:23:36 +03:00
Steffi Stumpos
707e1c7f8d
[Test] Add service to provide additional classpath to box tests
2021-07-27 14:05:51 +03:00
Dmitriy Novozhilov
85c7f386eb
Add Kotlin 1.7 language version
2021-07-20 13:33:41 +03:00
Mikhail Glukhikh
113d2653aa
Drop deprecated -Xexperimental flag from compiler and tests
2021-07-14 21:18:23 +03:00
Ilya Kirillov
a9bb577154
FIR IDE: add ability to run multimodule tests
2021-07-08 18:25:39 +03:00
Victor Petukhov
a82772f31a
Depend on passed language version explicitly to compute nullability annotation settings
2021-07-06 09:54:29 +03:00
Ivan Kylchik
c176d4d7b0
Rename createTempDirectory to getOrCreateTempDirectory
...
With cache this function can be used to get already created directory
by name.
2021-06-30 19:33:17 +03:00
Andrey Zinovyev
3572a96bb9
[FIR] Lookup in local sources in default imports based on the flag
...
Reuse ALLOW_KOTLIN_PACKAGE for that
2021-06-08 08:23:25 +00:00
Dmitriy Novozhilov
73a63359df
[Test] Add new directive for specifying target platform for module
2021-05-19 00:52:28 +03:00
Dmitriy Novozhilov
06b2efe65f
[Test] Introduce new syntax for dependsOn dependencies
2021-05-19 00:52:27 +03:00
Dmitriy Novozhilov
27f0d938c9
[Test] Add wrapping of failures from different parts of test pipeline
2021-05-19 00:52:22 +03:00
Victor Petukhov
1f0616439c
Introduce special common directives for tests based on foreign annotation tests
2021-04-30 14:43:26 +03:00
Dmitriy Novozhilov
e3b5cc491d
[Test] Throw exception from compiler at a first place
2021-04-19 14:32:37 +03:00
Dmitriy Novozhilov
69ff45971f
Suppress HIDDEN diagnostics from FIR to fix FIR bootstrap compilation
2021-04-14 18:30:56 +03:00
Ivan Kylchik
dbf1f54c3f
Add possibility to run callback lambda before dispose test project
2021-03-29 18:11:22 +03:00
Ilmir Usmanov
b838ba8c62
Check whether backend is IR instead of distinct ones
2021-03-22 15:08:59 +00:00
Dmitriy Novozhilov
34f8c7a68b
[TEST] Add ability to register compiler extensions in EnvironmentConfigurator
2021-03-18 14:00:38 +03:00