Victor Petukhov
9be181f1ad
[FE 1.0] Remove constraint system tests
...
These tests used the old type inference constraint system, so it didn't cover the current compiler logic almost at all
It'd be fine to implement similar test for the new type inference constraint system
^KT-52699
2022-08-02 10:29:38 +00:00
Ivan Kochurkin
502349c594
[FIR] Implement Native test infrastructure, add FirNativeSessionFactory
2022-07-25 23:30:09 +02:00
Dmitriy Novozhilov
8919703448
[Test] Extract CLI tests for plugins into separate directory
2022-07-20 09:07:26 +00:00
Georgy Bronnikov
320ba3db75
JVM_IR, FIR: add FIR tests for IR serialization
2022-05-19 12:02:41 +02:00
Ivan Kylchik
0f0b48f87b
Move reporting of interpreter's backend errors tests to fir module
2022-05-18 21:20:01 +03:00
Ivan Kylchik
0b22cf6cb9
Rewrite ir interpreter's dump tests to box
...
Box tests will check the correctness of interpreter, meantime
by dumped ir we can understand that expression was folded.
2022-05-18 21:20:01 +03:00
Ivan Kylchik
df7be06558
Add tests to check constant evaluation for intrinsic const declarations
2022-05-18 21:19:58 +03:00
Ilya Chernikov
bd60d4b2a6
FIR LT: Add box inline tests for FIR + LT (failing on SMAP so far)
2022-03-30 08:34:21 +00:00
Ilya Chernikov
3220900abe
FIR: add tests for IC with LT and new CLI pipeline
2022-03-30 08:32:10 +00:00
Victor Petukhov
683a3e74a0
[Compiler CLI] Implement reading language version settings from environment variable
...
^KT-51306 Fixed
2022-02-16 18:41:50 +03:00
Ivan Kylchik
fca1909f4a
Move interpreter's test from fir module to general tests-gen
2022-01-28 18:44:47 +00:00
sebastian.sellmair
3598ba1d45
[MPP][Test] Implement Diagnostics with mpp composite analysis tests
...
Using the 'MULTIPLATFORM_COMPOSITE_ANALYSIS_MODE' test directive
will add support for testing "cli metadata compilation" and
"ide analysis" _like_ configurations. In this configuration,
dependsOn modules will not be analyzed together with dependents in
the same ModuleDescriptor, but will be passed as separate 'expectedBy'
dependency descriptor.
Used to cover ^KT-50120 inside kotlin.git
2021-12-21 21:31:42 +00:00
Ilya Chernikov
10c5071eda
Implement backend error reporting on unsupported script capturing
...
#KT-30616 fixed
#KT-43995 fixed
#KT-19424 fixed
#KT-49443 fixed
2021-12-14 13:39:17 +03:00
Ilya Chernikov
cb5e451e05
Implement script instance capturing in script lowering
...
for regular classes only. Reimplementing the main behavior of the
old BE and implementing few cases on top of it.
#KT-19423 fixed
2021-12-14 13:39:17 +03:00
Roman Artemev
699f16ba55
[KLIB] Move klib-related tests into separate package/directory
...
- regenerate tests
2021-12-08 20:18:08 +03:00
Mads Ager
99293de6e9
[FIR] Enable local variable tests.
2021-11-09 11:09:00 +03:00
Ivan Kylchik
c59098df2f
[JS TESTS] Rewrite js ir tests using new test infrastructure
2021-11-08 23:50:34 +03:00
Mads Ager
8a8c38cc48
[FIR] Enable stepping tests.
2021-11-01 15:43:08 +03:00
Ivan Kylchik
13d3b7c0b8
[JS TESTS] Move generation of js tests to GenerateJsTests
2021-10-25 00:14:20 +03:00
Ivan Kylchik
a2d2ace71a
[JS TESTS] Rewrite js tests using new test infrastructure
2021-10-25 00:14:20 +03:00
Mads Ager
e9c9d5731e
[JVM] Port Stepping and LocalVariable tests to new test infra.
...
This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
2021-10-15 20:03:54 +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
8fd2474b9e
[Test] Generated FIR codegen tests on modern jdk
2021-10-09 17:07:37 +03:00
Dmitriy Novozhilov
aab8870903
[Test] Migrate AbstractAsmLikeInstructionListingTest to new test infrastructure
2021-10-07 13:08:44 +03:00
Dmitriy Novozhilov
e933c7b6d9
[Build] Remove testApi(intellijDep()) dependencies from all modules
...
Since IDEA moved most of it's jars to java 11 it's illegal to use them
in our dependencies, so all modules which use `intellijDep()` should
carefully specify which jars they use
2021-09-30 14:41:31 +03:00
Dmitriy Novozhilov
de7fb9606a
Migrate all JDK 9 related tests to JDK 11
2021-09-28 13:01:47 +03:00
Dmitriy Novozhilov
ce3562f0e8
Migrate all JDK 15 related tests to JDK 17
2021-09-28 13:01:45 +03:00
Nikolay Lunyak
f6ae6af741
[FIR] Add test data
2021-09-11 22:05:43 +03:00
Nikolay Lunyak
e4473ad94c
[FIR2IR] Add Fir2IrSpecificBytecodeListing tests support
2021-09-11 22:05:42 +03:00
pyos
33251f6d50
Generate foreign annotation test data for FIR
2021-08-10 13:19:23 +03:00
pyos
e2e0358505
Remove "FIR" foreign annotation tests
...
They do not actually use FIR.
2021-08-10 13:19:21 +03:00
Ivan Kylchik
6fe8dd1254
Add ir interpreter tests for ir built from psi
2021-08-06 13:32:57 +03:00
Dmitriy Novozhilov
1fa74ef939
[Test] Move test on modern jdk to separate test runners
...
This is needed to avoid problems with installation of proper jdk
on developer machines. Those tests will be moved back to main box
suites after migrating our tests on LTS versions of jdk (11 and 17
instead of 9 and 15)
2021-08-01 22:23:43 +03:00
Dmitriy Novozhilov
c168a561df
[Test] Migrate tests for java 15 to regular test infrastructure
2021-08-01 22:23:39 +03:00
Dmitriy Novozhilov
4f73ebbcbd
[Test] Migrate tests for java 9 to regular test infrastructure
2021-08-01 22:23:39 +03:00
Dmitriy Novozhilov
046730c62c
[Test] Integrate AbstractCompileTimeConstantEvaluatorTest to AbstractDiagnosticTest
...
^KT-47898
2021-07-29 15:25:53 +03:00
Nikolay Lunyak
25d2e61a82
[FIR2IR] Adding 2 new runners for fir2ir-specific tests
2021-07-15 23:15:39 +03:00
Mikhael Bogdanov
671ef7dfff
Regenerate tests
2021-07-15 17:08:16 +00:00
Georgy Bronnikov
97d3eda23c
JVM_IR: run Kotlin against Kotlin tests with serialization
2021-07-14 21:20:10 +03:00
Dmitriy Novozhilov
11dfbd41ac
[Test] Delete obsolete descriptor renderer tests
2021-07-08 13:29:19 +03:00
Roman Artemev
16ea3d9ae9
[TEST] Add IrText klib tests
2021-06-16 21:16:44 +03:00
Ivan Kylchik
e28ab45c51
Add ir interpreter tests
2021-06-07 15:35:12 +03:00
Victor Petukhov
8602d1fcf0
Merge foreign annotation tests for sources and binaries into single directory
2021-05-18 17:52:16 +03:00
Igor Yakovlev
c5372be267
[FIR IDE] Move and rename RawFirFragmentForLazyBodiesBuilder into Fir Ide module
2021-05-14 23:05:57 +03:00
Victor Petukhov
f330d67740
Mute foreign annotations tests with compiled java through psi class files reading
2021-04-30 14:43:28 +03:00
Victor Petukhov
24685ee9d6
Add directive ALL_JAVA_AS_BINARIES and use it explicitly for foreign annotations tests with compiled java
2021-04-30 14:43:27 +03:00
Victor Petukhov
cdcde634e8
Add basic Java 9 module tests
2021-04-30 14:43:26 +03:00
Victor Petukhov
6065f0e2d0
[Jspecify] Move diagnostic tests against compiled java under the new tests infrastructure
2021-04-30 14:43:26 +03:00
Victor Petukhov
8f097b14cc
[Jspecify] Move jspecify test runner under the new tests infrastructure
2021-04-30 14:43:26 +03:00
Victor Petukhov
6f9694174f
Move foreign annotation tests into diagnostics folder
2021-04-30 14:43:25 +03:00