Yunir Salimzyanov
cfb8763b33
Remove redundant Runner logic
2020-05-30 22:50:33 +03:00
Mads Ager
7d7b9262e7
[JVM] Port remaining line number tests to stepping infrastructure.
...
These line number tests only tested that a set of line numbers where
present in the java bytecode. Not that they would be hit in the
right order by the debugger. Moving them to stepping tests fixes that.
This exposes a couple of issues (in particular around try-catch-finally)
that should be fixed.
A number of tests are marked as failing now. Will investigate and
work on fixes next.
2020-05-29 15:07:49 +02:00
Dmitriy Novozhilov
f6dabafe34
[FIR] Make creating of resolve processors type safe
...
Also get rid of `CompilerMode` enum
2020-05-29 10:24:36 +03:00
Dmitriy Novozhilov
b4ce736814
[FIR] Move registration components out of initializers of FirSession
2020-05-29 10:24:26 +03:00
Dmitriy Novozhilov
41cdb61ef3
[FIR] Move all symbol providers to separate package
2020-05-29 10:20:57 +03:00
Mikhail Glukhikh
724101cdd2
[IR] Get rid of minor symbol.descriptor usages
2020-05-28 14:02:53 +03:00
Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Mads Ager
9fa1614903
[JVM] Port line number tests to stepping framework.
...
Allow specifying JVM and JVM_IR as well as shared expectations.
Add the method name to the step.
Discard steps in synthetic methods.
2020-05-27 07:28:47 +02:00
Vitaly
fe65045615
[JS BE] add es6 BE and relevant generated tests
2020-05-27 00:32:56 +03:00
Yan Zhulanow
46ac241e2f
202: Fix compatibility with 202 IDEA branch (code)
2020-05-27 02:38:44 +09:00
anastasiia.spaseeva
5ba9d09278
[Spec tests] Fix fir test runner for spec tests
2020-05-26 17:27:06 +03:00
Ilya Chernikov
2509dfb287
Rename scripting libs and plugin - invert embeddable suffix
...
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Dmitriy Novozhilov
d49c198a7f
[FIR] Correctly initialize extensions in all sessions
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
8d686226c7
[FIR] Introduce FirResolveProcessors
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
594a854b4e
[FIR] Reimplement FirExtensionService
...
- Get rid of old FirExtensionsService
- Implement new FirExtensionService
- Remove duplicating code in FirExtensionRegistrar
2020-05-24 18:04:45 +03:00
Dmitriy Novozhilov
0b00015424
[FIR] Deprecate FirExtensionsService
2020-05-24 18:04:44 +03:00
anastasiia.spaseeva
d32aca87d1
[Spec tests] Change metadata structure of implementation and spec tests
2020-05-22 02:51:57 +03:00
Dmitriy Novozhilov
24c8a659ee
[FIR] Add FirSession as parameter for FirTotalResolveTransformer
2020-05-20 10:40:55 +03:00
Dmitry Petrov
de4ebe4395
Prohibit @JvnName on functions mangled because of return type
2020-05-20 07:19:29 +03:00
pyos
5feadd56ef
JVM: parse KotlinDebug when regenerating anonymous objects
2020-05-19 18:33:27 +02:00
Mikhail Glukhikh
db7a7f6cd3
[FIR2IR] Move facade classes generation to the main converter
2020-05-18 11:48:33 +03:00
simon.ogorodnik
e101f88b50
[FIR] Add lines per second metric
2020-05-14 20:58:27 +03:00
Jinseong Jeon
eac9af521e
[FIR2IR] differentiate external Java stub origin from external stub
2020-05-08 17:45:39 +03:00
Dmitriy Novozhilov
4eb9eb0537
[FIR] Rename FirExtensionPoint to FirExtension
...
Also rename `FirExtensionPointService` to `FirExtensionsService`
2020-05-08 15:10:02 +03:00
Dmitriy Novozhilov
35cce7eedd
[FIR] Initialize extension service in all FIR tests
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
7f8a8ca099
[FIR] Add ability to register extension points in diagnostic tests
2020-05-08 15:09:56 +03:00
Steven Schäfer
1f97486fdd
Parcelize: Improve testing infrarstructure
...
- Support newer android versions
- Allow testing against Java files using android APIs
- Update test expectations
- Auto-generate ParcelBoxTests
- Create tests for the JVM IR backend
2020-05-06 22:51:12 +02:00
Yunir Salimzyanov
550aa1ba59
Remove partial quotes in csv files
...
Cause: github do not want to render fields with such kind of quotes
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
cf8b29a636
Add missing commas to csv files
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
856d8e64a2
Escape fields with extra commas in csv for muted tests
2020-04-30 19:30:55 +03:00
Dmitriy Dolovov
90e888a1b6
Discriminate overloading expect MemberDescriptors
...
Issue #KT-38298
2020-04-28 13:16:18 +07:00
Mikhail Glukhikh
34ae35b2aa
Move FirJvmClassCodegen inside fir:fir2ir:jvm-backend #KT-38156 Fixed
...
This removes dependency of IR JVM backend from FIR
2020-04-28 07:35:13 +03:00
Jinseong Jeon
57fe01c375
FIR2IR: populate overriddenSymbols for overriding functions
...
#KT-38416 Fixed
2020-04-27 11:50:24 +03:00
Denis Zharkov
65e444a39c
FIR: Properly support local functions in DEBUG_INFO_CALL
2020-04-21 09:48:03 +03:00
Denis Zharkov
27b860682b
FIR: Support DEBUG_INFO_EXPRESSION_TYPE
2020-04-21 09:48:03 +03:00
Denis Zharkov
6cd1ae9c82
Prepare AbstractFirOldFrontendDiagnosticsTest to RawFirBuilders failures
2020-04-21 09:48:03 +03:00
Denis Zharkov
b62400124a
FIR: Support DEBUG_INFO_CALL calls in tests
2020-04-21 09:48:03 +03:00
Mikhail Glukhikh
4bb6410ce3
[FIR TEST] Temporary ignore overrideDefaultArgument test (KT-38416)
...
This test enters an infinite loop and can't finish
2020-04-20 17:05:35 +03:00
Dmitriy Dolovov
8d2e999776
HMPP: Parameterize NativePlatform with KonanTarget
2020-04-14 21:06:48 +07:00
Mikhail Bogdanov
dec93c8b49
Add ANDROID target
2020-04-14 13:53:22 +02:00
Mikhail Bogdanov
115cf4666e
Get rid of CodegenTestCase from CodegenTestsOnAndroidGenerator superclass
2020-04-14 13:53:22 +02:00
Nikolay Krasko
dbbb81c78d
201: Minor: remove author to fix conformance test
2020-04-13 19:50:59 +03:00
Mikhail Glukhikh
5c758af0a6
[FIR] Use ScopeSession from resolve transformer in FIR2IR
2020-04-09 15:22:55 +03:00
Ilya Gorbunov
fcada0a5e3
Make use of contracts of time measurement functions
2020-04-03 19:36:36 +03:00
Dmitriy Novozhilov
bb8d743741
[FIR-TEST] Throw RuntimeException instead of AssertionError in FirResolveBench
...
This is needed for better usability of testing of changes which
brake testdata and introduce new exceptions from compiler at same time
2020-04-03 10:08:23 +03:00
Nikolay Krasko
b199403c57
201: Revert adding RUN_SLOW_ASSERTIONS enabling in KtUsefulTestCase
2020-04-01 18:03:41 +03:00
Victor Petukhov
218c13efc5
[FIR] Remove links to spec sentences during comparison fir and old front-end test data
2020-03-30 11:15:55 +03:00
Victor Petukhov
a29385e758
[Spec tests] Small clean-up CheckerTestUtil and around it
2020-03-30 11:15:55 +03:00
Victor Petukhov
f76faaf1b0
[Spec tests] Unify platform dependent part of fixed exception
2020-03-30 11:15:53 +03:00
Dmitriy Dolovov
9bbfe9c1ac
Rename: KonanPlatform, KonanPlatforms -> NativePlatform, NativePlatforms
2020-03-29 23:20:52 +07:00