Ivan Kylchik
3d4f3d2f57
[IR] Visit file annotations in IR interpreter
...
#KT-55866 Fixed
2023-05-15 08:32:37 +00:00
Alexander Udalov
180fc84eb7
Add ReadMe for compiler/android-tests
2023-05-02 21:27:12 +00:00
Bogdan Mukvich
0299d2c9e2
Use JDK 8 as JAVA_HOME for android tests
...
* android sdk tools binaries run in a child process relies on JAVA_HOME
* old android sdk tools can run only under JDK 8, requiring javax libs
2023-04-27 12:25:21 +00:00
Roman Golyshev
d4cffb8a5a
[213] Switch to 213 platform
...
KTI-1114
2023-04-21 13:19:04 +00:00
Nikolay Krasko
8b12b3f18d
Minor: remove code from top-level and move to task configurations
2023-03-20 17:58:15 +00:00
Dmitriy Novozhilov
dfeabea0ab
[Test] Skip tests with IGNORE_BACKEND_K1 directive in android runner
2023-02-07 09:49:21 +00:00
Vladimir Sukharev
c8864369fd
Use main class as test generator name
...
Merge-request: KT-MR-7031
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-09-09 12:51:18 +00:00
Nikita Bobko
8f79e833a8
Drop all redundant kotlin-reflect, kotlin-reflect-api dependencies
...
Review: https://jetbrains.team/p/kt/reviews/6753
All redundant I managed to find, of course.
Why: I'm going to process all reflect dependencies in the next commits.
Cleanup reflect dependency before processing.
They are redundant because:
1. if `compileOnly` then compilation didn't break after dropping the
dependency
2. if `test*` then tests didn't break after dropping the dependency.
3. `analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts`
`compiler/fir/checkers/checkers-component-generator/build.gradle.kts`
Drop `implementation(project(":kotlin-reflect-api"))` because the
module already depends on
`implementation(project(":kotlin-reflect"))`
4. `compiler/daemon/daemon-client/build.gradle.kts`. Drop `runtimeOnly`
because after dropping `compileOnly` compilation didn't break (so
`runtimeOnly` looks suspicious). Less safe than 1-3
2022-08-22 15:42:57 +02:00
Dmitriy Novozhilov
2c6aea47b1
[Test] Introduce provider of path of standard libraries jars
...
Before this change all paths to all libraries were hardcoded to
`dist/kotlinc/lib/...`, which is not suitable for usages of test
framework outside of Kotlin project
2022-04-08 09:42:02 +00:00
Dmitriy Novozhilov
400ad6a01e
[Test] Add ability to configure access to application disposable in test configuration
...
This is needed to unbound CompilerConfigurationProvider from ApplicationEnvironmentDisposer,
which depends on classes from JUnit 5. This will allow to safely use
compiler test framework with base test framework different from JUnit 5
2022-04-08 09:41:59 +00:00
Ilya Chernikov
f89765eb33
Make JDK classpath roots configuration explicit...
...
instead of relying on the "configuration files" parameter.
(in the process of migration from KotlinCoreEnvironment).
2022-03-30 08:32:56 +00:00
Ilmir Usmanov
28b60d7e61
Add another flavor to android tests
2022-02-18 08:50:25 +00:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Evgeniy.Zhelenskiy
cb4ec932d7
[Tests] Introduce replacing source transformer
2021-12-10 18:19:17 +03:00
Evgeniy.Zhelenskiy
38ff3f5a24
[Tests] Fix Android test runner
2021-12-10 18:19:17 +03:00
Mikhael Bogdanov
6474a90555
Fix Android box tests
2021-12-06 19:34:40 +01:00
Nikolay Krasko
317b0b4495
Update junit dependency 4.12 -> 4.13.2 in tests
2021-11-24 19:35:32 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Dmitriy Novozhilov
ca40cbede5
[Test] Get rid of BackendKindExtractor
2021-08-02 20:07:49 +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
Nikolay Krasko
bba0dfb469
Cleanup as42 bunch files
...
We don't build AS42 plugin from main kotlin repo anymore.
2021-07-23 16:58:24 +03:00
Dmitriy Novozhilov
11faf04a4c
[Test] Remove dependencies on IDEA classes from test modules
...
Some of IDEA services (like in `com.intellij/execution`) was copied,
because they are used in tests but jars with them compiled with
jdk 11 and we run our tests on jdk 8, so their bytecode can not
be read
2021-07-08 13:29:19 +03:00
Nikolay Krasko
b406689035
Re-enable ":compiler:android-tests" module
2021-06-22 11:02:51 +03:00
Nikolay Krasko
32f811e0ec
Build: Cleanup old platforms from the build
2021-06-09 17:43:53 +03:00
Ilya Kirillov
65ce641b22
FIR IDE: introduce diagnostics tests bases on FIR diagnostics tests
2021-05-04 08:19:49 +02:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Vyacheslav Gerasimov
f2a892a972
Cleanup 201 and as41 bunch files
2021-03-30 14:23:43 +03:00
Mikhael Bogdanov
6ff5704ef9
Delete obsolete test
2021-02-15 11:24:10 +01:00
Mikhael Bogdanov
f493766563
Add IR tests to Android codegen test
2021-02-15 11:24:10 +01:00
Dmitriy Novozhilov
1216b33593
[Test] Move extracting JVM_TARGET to provideConfigurationKeys
2021-02-10 13:02:07 +03:00
Dmitriy Novozhilov
3ee5665746
Parse compiler configuration for android tests using new test infrastructure
2021-02-10 13:02:05 +03:00
Dmitriy Novozhilov
0ebb39a26e
[Test] Exclude multimodule tests from codegen tests on android
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
17d59e0daa
[Test] Support skip of android codegen tests with new ASSERTION_MODE directive
2021-02-02 17:54:59 +03:00
Mikhael Bogdanov
1ea4fa4464
Fix android test with type annotations. Remove obsolete JVM 8 flavors
...
Remove some new test cause their originals would be executed on JvmTarget6OnJvm8
2021-02-02 14:32:50 +01:00
Dmitriy Novozhilov
f255f93ad9
[Test] Support skip of android codegen tests with new ASSERTION_MODE directive
2021-02-02 07:08:13 +01:00
Mikhael Bogdanov
3e1fabd46c
Set ANDROID_SDK_ROOT for android box tests
2021-01-29 14:30:24 +01:00
Mikhael Bogdanov
c5baf3fdd2
Upgrade gradle plugin to 4.1. and build tools to 29.0.3 for android box tests
2021-01-29 11:57:51 +01:00
Mikhael Bogdanov
9459f8113f
Set ANDROID_HOME/ANDROID_SDK_ROOT for android box tests
...
In some cases emulator execution on TC fails cause of problem with pathes
2021-01-29 11:57:51 +01:00
Mikhael Bogdanov
844d2572e5
Don't run dx test in emulator
2021-01-29 08:48:30 +01:00
Mikhael Bogdanov
0ad24f5346
Enable Android box test
2021-01-28 18:01:21 +01:00
Alexander Udalov
221f44da5f
Fix warnings in stdlib/compiler/plugins/test code
2021-01-13 19:18:20 +01:00
Dmitriy Novozhilov
c8f3a4802e
[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
2020-12-16 19:52:22 +03:00
Dmitriy Novozhilov
dbc85a5f18
[TEST] Fix compilation of CodegenTestsOnAndroidGenerator.kt
2020-12-10 01:31:05 +03:00
Dmitriy Novozhilov
986ab9cb54
Build: remove useless .as40 files
2020-11-28 14:25:54 +03:00
Ilya Gorbunov
b2b2629e79
Use new kotlin.io.path API in tests
2020-11-20 09:03:25 +03:00
Vyacheslav Gerasimov
3feff16a77
Cleanup 193 compatibility fixes
2020-11-11 14:28:54 +03:00
Nikolay Krasko
2df030f583
as42: Apply 201 <-> AS41 diff
2020-09-29 15:32:32 +03:00
Yan Zhulanow
eaa5d08736
Move all sources for android-tests to the 'test' source set
2020-09-24 15:50:55 +09:00
Nikolay Krasko
44a95a4105
Stop running failed AndroidRunner tests
2020-08-20 16:06:11 +03:00