Commit Graph

218 Commits

Author SHA1 Message Date
Dmitrii Gridin db2849dc0d [Analysis API] add run configuration for standalone tests
^KT-62888
^KT-62651
2024-01-03 13:39:42 +00:00
Sergej Jaskiewicz 0d2032f3ef [SIR] Auto-generate the Swift IR tree
Co-authored-by: Gleb Lukianets <gleb.lukianets@jetbrains.com>
2023-12-08 10:09:09 +00:00
Marco Pennekamp 1901ed36ec [LL] Expand "Low Level FIR API Tests" run configuration to include tests from submodules
- LL API tests should include LL API JDK 11 tests and, if applicable, LL
  API native tests.
2023-12-05 21:31:32 +00:00
Ivan Kylchik 35cf9cb0c4 [Project] Drop Generate Compiler Tests in favor of Generate All Tests
`Generate Compiler Tests` configuration is not working properly
because it doesn't include analysis api test generator. It was decided
to keep only one generate configuration for tests.
2023-11-29 11:50:01 +00:00
Dmitriy Dolovov d7e9fcea04 [PL][JS] Add missing PL test to the IDEA run configuration 2023-08-16 19:11:34 +00:00
Dmitriy Dolovov 5171d92fb9 [KLIB] API for dumping KLIB ABI
^KT-54402
2023-07-28 09:52:18 +00:00
Sebastian Sellmair 7fbdd8e0bc [Gradle] Update multiplatform test run configurations to 'run as test' 2023-06-05 14:25:01 +00:00
Leonid Shalupov 7480befe32 Replace reflection-based compiler arguments copying with generated code
Using of Kotlin reflection for simple operations like bean management is very slow

First time initialization time: 261 ms for `copyBean(K2JVMCompilerArguments())`
Subsequent calls of `copyBean(K2JVMCompilerArguments())` take 1.7 ms per call

Unfortunately compiler argument handling is also used in Kotlin IntelliJ plugin
to parse facet settings. Big projects may have thousands of Kotlin facets

The same `ArgumentUtilsKt.copyProperties` frame is seen across various freezes:
IDEA-252440 2-3 minutes freeze on Kotlin project reimporting in last 203 eap
IDEA-253107 A lot of short freezes (1-3 sec) during Kotlin project development
KTIJ-23501 Make main run configuration detection lighter
KTIJ-22435 Unresponsive UI with 100% cpu

Reflection issue:
KT-56358 KClasses.getMemberProperties takes too much time

This commit replaces all reflection stuff with a simple code generation
Now `K2JVMCompilerArguments().clone()` goes to hard-to-measure time
2023-04-03 15:47:35 +02:00
Dmitriy Dolovov 8380a1ed54 [PL][tests] Update IDE run configurations 2023-03-29 15:41:06 +00:00
Dmitriy Dolovov 295c578f44 [PL] Rename IDEA run configurations for ABI compatibility tests
Also: Run Native ABI tests with '--stacktrace' option turned on.
2023-03-23 10:24:27 +00:00
Svyatoslav Kuzmich bebb9b1392 [Wasm] Move compiler tests to :wasm:wasm.tests module
They don't belong in K/JS test module.
2023-01-31 13:12:12 +00:00
Pavel Kirpichenkov 4dbb2b01fe [Tests] Give clear name to functional dependency resolution tests
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov c3ea93f4a4 [Tests] Split functional tests by Gradle tasks
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov cee5d568a5 [MPP, tests] Rearrange functional tests
Split tests into groups: unit tests, regression tests and
ide importing tests. Create additional run configurations for them.

KT-55530
2023-01-10 16:02:52 +00:00
Abduqodiri Qurbonzoda 4af0f110c7 Fix 'Test: stdlib-js public kotlin api test' IDEA run configuration
Moving tests to another package made the IDEA run configuration obsolete.
To prevent this problem in the future a separate task (jsStdlibApiTest)
was introduced. The task is run in TC and will fail if the tests are missing.

Merge-request: KT-MR-8128
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-01-07 12:30:52 +00:00
Sebastian Sellmair 84fdc5e3df [Gradle] Cleanup shared run configurations
^KT-55475 Verification Pending
2022-12-16 16:46:15 +00:00
Sebastian Sellmair 4c69b5867f [Gradle][Minor] Update Test__Kotlin_Gradle_Plugin___idea.xml
KT-55112
2022-11-29 08:05:12 +00:00
Dmitriy Dolovov afcf78ac94 [IR][JS] Partial linkage: Add IDEA run configurations for tests w/ and w/o IC 2022-10-19 13:46:23 +00:00
Dmitry Savvinov c1e21f5b8f [mpp, tests] Add infrastructure for *Generated KPM Core tests 2022-08-12 12:34:14 +02:00
Ilya Gorbunov af6958de02 Fix stdlib-gen run configuration
--configure-on-demand parameter seems to no longer work in kotlin gradle project
2022-06-26 21:29:57 +03:00
Dmitriy Dolovov f98778e331 Add IDEA run configurations for KLIB ABI tests 2022-06-20 12:30:01 +04:00
mcpiroman 529c03ab08 Switch to auto generated IR tree
Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
2022-06-13 18:58:05 +02:00
sebastian.sellmair 865a91784b Share Test: binary compatibility run configurations 2022-05-23 14:40:50 +00:00
sebastian.sellmair 4f4f749c08 [kpm] Replace KotlinExternalModelContainer with new Extras implementation
This newly introduced `Extras` shall present a more generic mechanism
of attaching data of a given type to any entity.
2022-05-23 14:40:49 +00:00
Ilya Gorbunov d225399241 Fix test fq names in stdlib JS API dump run configuration 2022-04-04 22:33:22 +00:00
sebastian.sellmair fc0b78e106 [KPM] Share run configuration for updating kgp-idea binary reference
KT-51386
2022-03-17 15:39:53 +00:00
sebastian.sellmair b353533ee1 [KPM] Run Configuration: Test / Kotlin Gradle Plugin / idea: Continue
KT-51386
2022-03-17 15:39:45 +00:00
sebastian.sellmair 2f7310e9df [KPM] Share kgp-idea binary compatibility test run configuration
KT-51262
KT-51220
2022-02-17 20:19:29 +00:00
sebastian.sellmair 8269104b86 [KPM] Share convenient run configurations for testing KGP/KGP-idea
KT-51262
KT-51220
2022-02-17 20:19:24 +00:00
Ilya Kirillov 1a2de65421 Add Generate Analysis Tests run configuration 2022-01-31 21:12:29 +01:00
Ilya Kirillov 4c94e2958e Analysis: add more run configurations 2021-12-27 16:23:22 +03:00
Ilya Kirillov 9d6da14847 Add run configurations for running Analysis API Tests 2021-11-22 22:47:01 +01:00
Dmitriy Dolovov f33618330d [Native][tests] Add generating and running blackbox tests to "Generate Compiler Tests" run configuration 2021-11-18 13:29:10 +03:00
Tianyu Geng 44e0efc23c FIR: fix run config after Analysis API refactoring 2021-09-22 15:47:13 +02:00
Ilya Gorbunov 516c2933ce Run configuration for regenerating builtins sources 2021-08-25 06:22:17 +03:00
Viacheslav Kormushkin 1654824467 Commonization of CocoaPods libraries
#KT-41631
2021-08-03 12:50:05 +00:00
Nikolay Krasko 6a0b71d3e4 Drop old IDEA run configurations 2021-07-21 11:23:56 +02:00
sebastian.sellmair 09f9a1ce5b [Commonizer] Share Test: Commonizer / Light run configuration
This run configuration can be used to run only light weight/faster tests
2021-07-15 10:04:34 +00:00
Nikita Bobko 5a6f07402b Fix 'Generate FIR Checker Components and FIR/IDE Diagnostics' run configuration 2021-06-23 14:06:08 +02:00
sebastian.sellmair 50d0439af3 [Minor] Share 'Test: Commonizer' run configuration 2021-04-09 23:36:00 +02:00
Dmitriy Novozhilov 21b1d97b30 Add predefined run configuration for FIR tree generation 2021-03-24 12:56:13 +03:00
Dmitriy Novozhilov a7c08345b4 Extract Generate Compiler Tests run configuration back to top level 2021-03-15 12:13:04 +03:00
Dmitriy Novozhilov f1edca8ca8 Move default gradle run configurations to separate folders 2021-03-11 13:10:03 +03:00
tgeng afe71f5d59 FIR: Add runConfig to generate FIR boilerplate (#4130)
* FIR: Add runConfig to generate FIR boilerplate

* FIR: Add runConfig to generate FIR boilerplate
2021-02-18 23:26:10 +01:00
Dmitriy Novozhilov 1f258c28fc [Test] Extract main compiler test generator to separate project
This is needed because now we have different tests modules with different
  test frameworks (JUnit3 and JUnit5) which has no dependencies between
  each other. So for keeping all test generation config in one place
  we need module which may rely on all independent test modules
2020-12-21 18:34:54 +03:00
Dmitriy Novozhilov d7224ad63e [Build] Add generating and running new compiler tests to gradle 2020-12-16 19:52:23 +03:00
Alexander Dudinsky 38535c4fe1 New type of task - TestAggregation task
You can configure smoke test suites and get critical test results faster
This doesn't replace rr/* builds, but complements them for a faster round trip.

Also test tasks and patterns were added for KMM team.
 #KMM-265
2020-07-08 11:23:03 +03:00
Ilya Gorbunov e3050cd997 Minor tweaks in js api dump run configuration
- parallel build
- clean test results before running tests again
2020-06-26 13:53:49 +03:00
Ilya Gorbunov d5ae06e7ed Add run configuration for stdlib-js ApiTest 2020-06-15 17:18:10 +03:00
Georgy Bronnikov 8f4b4007fe JVM_IR: Add test for compiling against cross-platform Klib 2020-01-28 12:19:43 +03:00