Dmitriy Novozhilov
94d58c714a
[FIR] Cleanup dependencies for fir modules
2020-09-01 12:00:12 +03:00
Mikhail Glukhikh
65739c50d3
FIR full pipeline test: output build status per-module
2020-09-01 11:40:32 +03:00
Alexander Udalov
a9ddf02556
Replace deprecated usages of max/min with maxOrNull/minOrNull
2020-08-25 20:33:59 +02:00
Dmitriy Novozhilov
41aa90ad71
[FIR-TEST] Add flag to take memory dumps in modularized test
2020-08-21 15:27:54 +03:00
Simon Ogorodnik
38477be484
[FIR] Make test fail if profiling requested, but misconfigured
2020-08-18 16:21:48 +03:00
Simon Ogorodnik
15d4333e81
[FIR] Add per-pass profiling support to modularized test
2020-08-18 16:21:48 +03:00
Simon Ogorodnik
83ded9badf
[FIR] Add pass argument to beforePass of modularized test
2020-08-18 16:21:48 +03:00
Alexander Udalov
c3cbcf6d7f
Slightly improve performance measurements rendering
...
Report the input module name and size once before any measurements
instead of duplicating it in all of them. Also, render measurements in a
table to improve readability.
Before:
info: PERF: INIT: Compiler initialized in 467 ms
info: PERF: ANALYZE: 1 files (2 lines) target main-java-production in 277 ms - 7.220 loc/s
info: PERF: IR: Translation 1 files (2 lines) target main-java-production in 291 ms - 6.873 loc/s
info: PERF: GENERATE: 1 files (2 lines) target main-java-production in 513 ms - 3.899 loc/s
info: PERF: IR: Generation 1 files (2 lines) target main-java-production in 142 ms - 14.085 loc/s
After:
info: PERF: main-java-production, 1 files (2 lines)
info: PERF: INIT: Compiler initialized in 421 ms
info: PERF: ANALYZE 342 ms 5.848 loc/s
info: PERF: IR TRANSLATION 296 ms 6.757 loc/s
info: PERF: GENERATE 453 ms 4.415 loc/s
info: PERF: IR GENERATION 137 ms 14.599 loc/s
2020-08-17 19:29:57 +02:00
simon.ogorodnik
689887c94d
[FIR] Fail test if no modules analyzed successfully
2020-07-10 16:25:22 +03:00
simon.ogorodnik
77ccb3767c
[FIR] Add system property selector for lightTree2fir / psi2fir
2020-07-07 21:47:24 +03:00
simon.ogorodnik
a460b8f2f4
[FIR] Support source directories for lightTree2fir
2020-07-07 21:47:24 +03:00
simon.ogorodnik
6bc654ee49
[FIR] Add full compiler pipeline modularized test
...
Fixup: allow kotlin package
2020-07-07 21:47:24 +03:00
simon.ogorodnik
b48dfe9b3d
Allow dirs as content root in modularized tests
2020-07-07 21:47:24 +03:00
Dmitriy Novozhilov
a98ad79d86
[FIR-TEST] Add option to run modularized tests with checkers
2020-06-19 12:40:02 +03:00
Denis Zharkov
260e2d0dc3
FIR: Add dependency for :core:descriptors.runtime to modularized tests
...
Otherwise NoClassDefFoundError happens on JPS
2020-06-19 10:21:09 +03:00
Yunir Salimzyanov
dce19b0ace
Cleanup 191 patchset logic (KTI-267)
2020-06-07 10:49:55 +03:00
Ilya Chernikov
5e33612238
Extract interface from CompilerMessageLocation to ease extension
...
The CompilerMessageLocation is an implicit part of the binary daemon
protocol so changing it breaks compatibility with older daemons.
This change allows to extend location for non-daemon uses without
breaking the binary protocol.
2020-06-05 21:58:27 +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
41cdb61ef3
[FIR] Move all symbol providers to separate package
2020-05-29 10:20:57 +03:00
Dmitriy Novozhilov
8d686226c7
[FIR] Introduce FirResolveProcessors
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
24c8a659ee
[FIR] Add FirSession as parameter for FirTotalResolveTransformer
2020-05-20 10:40:55 +03:00
Dmitriy Novozhilov
cc07ae96b3
[FIR-TEST] Move analysis tests to separate module
2020-03-19 09:51:01 +03:00
simon.ogorodnik
f226d855e1
Fix NI flag in modularized test for old frontend
2020-03-16 21:42:05 +03:00
simon.ogorodnik
426f498e87
[FIR] Forking runner for modularized test
2020-03-06 18:12:59 +03:00
Nikolay Krasko
162c2f3dc9
201: openapi.jar is removed
2020-02-11 20:27:59 +03:00
simon.ogorodnik
099d737e86
[FIR] Fix compiler configuration for modularized test
2020-01-28 13:21:14 +03:00
Simon Ogorodnik
1715f1a864
[FIR] Refactoring: create use-site scopes via scope provider
2019-12-30 12:52:58 +03:00
Mikhail Glukhikh
cb3f02d015
FIR modularized test: do not print unnecessary stuff to the console
2019-12-19 16:03:16 +03:00
Mikhail Glukhikh
9efb1fc527
Change FIR modularized test to be able to work in light tree mode
2019-12-19 12:29:01 +03:00
Simon Ogorodnik
d1c0dfe8ac
[FIR] Run System.gc() before each pass in modularized tests
2019-12-17 18:25:08 +03:00
Simon Ogorodnik
81759e8c55
[FIR] Use proper sourceScope for modularized tests
2019-12-16 21:21:08 +03:00
Simon Ogorodnik
dd803cb650
[FIR] Fix moduleInfo module names
2019-12-16 21:21:05 +03:00
Simon Ogorodnik
fe875d628d
Revert "[FIR] Fix outputs for logs of modularized test"
...
This reverts commit ae15fa76
2019-12-12 21:23:27 +03:00
Simon Ogorodnik
60cc9fa6f5
Revert "[FIR] Fix outputs for logs of modularized test"
...
This reverts commit ae15fa76
2019-12-12 20:55:13 +03:00
Dmitriy Novozhilov
ae15fa7676
[FIR] Fix outputs for logs of modularized test
2019-12-12 16:11:42 +03:00
Simon Ogorodnik
ebc1562b32
Filter out non-xml model files in modularized test
2019-12-11 17:21:02 +03:00
Simon Ogorodnik
48a05e3688
Support prefixed modularized test-data installation
2019-12-11 17:21:01 +03:00
Mark Punzalan
fc9ccafb84
[FIR] Generate and enable blackbox codegen tests.
2019-11-19 11:00:06 +03:00
Dmitriy Novozhilov
6a3c07688f
Add print of detailed stack trace to NonFir modularized test
2019-11-14 18:33:46 +03:00
Simon Ogorodnik
1bd861c5eb
Save use_ni key state to log
2019-11-11 20:32:07 +03:00
Alexander Udalov
57a674e9e6
Make fast class files reading mode default in compiler tests
...
This makes sense because this mode is the default in the production
compiler. Forgetting to enable it where necessary led to different
bizarre test failures, see for example changes around 3fee84b966 and
KT-34826
2019-11-11 15:40:49 +01:00
Dmitriy Novozhilov
4d43c13fb1
[FIR] Add logging to artifact in ModularizedTest for old frontend
2019-10-18 18:21:36 +03:00
Dmitriy Novozhilov
d0089c6747
[FIR] Add flag that enables fir dump in modularized test
2019-10-17 16:20:58 +03:00
Simon Ogorodnik
df3fbaf417
Add various configuration parameters to Non Fir modularized tests
2019-09-17 16:10:37 +03:00
Simon Ogorodnik
f3a0632b9a
[FIR] Fix dump html for each pass
2019-09-17 16:10:32 +03:00
Dmitriy Novozhilov
c2180b9361
[FIR] Move reporting of errors in modularized tests in separate log file
2019-09-13 10:42:17 +03:00
Simon Ogorodnik
375920da58
[FIR] Add gradle property for extending jvmArgs of modularized test
2019-09-12 18:06:47 +03:00
Dmitriy Novozhilov
40ebe4063c
[FIR] Refactor collecting statistics in modularized tests
...
Also add printing statistics of best pass at the end of build log
2019-09-10 18:34:03 +03:00
Simon Ogorodnik
0040490daf
[FIR] Fix FIR modularized tests after switch to 192
2019-09-10 12:33:00 +03:00
Simon Ogorodnik
312e93859b
Add more info to fir bench report & format as table
...
Properly measure raw fir builder time in fir benchmark
2019-08-30 16:32:48 +03:00