Commit Graph

88464 Commits

Author SHA1 Message Date
Dmitriy Dolovov 09dbd43b97 [Native][tests] Use TEAMCITY test logger instead of GTEST one
That's because currently K/N tests do not report ignored tests with GTEST logger, but do so with TEAMCITY logger.
2021-12-20 12:35:45 +03:00
Dmitriy Dolovov 553ea22504 [Native][tests] Minor. Simplify assertion expression 2021-12-20 10:47:03 +03:00
Dmitriy Dolovov 7981cf8368 [Native][tests] Remove unnecesary common prefix in dynamic test names 2021-12-20 10:47:03 +03:00
Dmitriy Dolovov 4a4760dc4b [Native][tests] Run stdlib tests using new test infrastructure 2021-12-20 10:47:03 +03:00
Dmitriy Dolovov 179d324444 [Native][tests] Extract test function names from test executables 2021-12-20 10:47:03 +03:00
Dmitriy Dolovov 87873f9824 [Native][tests] Extract GTest report verification logic 2021-12-20 10:47:02 +03:00
Dmitriy Dolovov f73ab305e6 [Native][tests] Introduce TestCaseId and TestCaseGroupId 2021-12-20 10:47:02 +03:00
Dmitriy Dolovov b051d2f67d [Native][tests] Naive implementation of glob expansion 2021-12-20 10:47:02 +03:00
Dmitriy Dolovov 6d52d21631 [Native][tests] Refactoring: Rework Settings to add more flexibility 2021-12-20 10:47:02 +03:00
Dmitriy Dolovov 30e51452b4 [Native][tests] Refactoring: Rework Settings/GlobalSettings 2021-12-20 10:47:02 +03:00
Dmitriy Dolovov 3c47880eba [Native][tests] Refactoring: Rework @TestCaseGroupProviding 2021-12-20 10:47:01 +03:00
Dmitriy Dolovov 7e92e3c57f [Native][tests] Simplify condition in AbstractNativeBlackBoxTest.buildJUnitDynamicNodes() 2021-12-20 10:47:01 +03:00
Dmitriy Dolovov 2f2e340e63 [Native][tests] Workaround: Use planar structure of dynamic tests 2021-12-20 10:47:01 +03:00
Dmitriy Dolovov 96067b07d9 [Native][tests] Support JUnit5 dynamic tests 2021-12-20 10:47:01 +03:00
Margarita Bobova b5daf78f8d Add changelog for 1.6.10 2021-12-19 12:13:32 +07:00
Dmitry Petrov 976998b56c PSI2IR KT-49526 function reference type approximation hack 2021-12-17 21:06:24 +00:00
nataliya.valtman 9c0ea11c1b Try to figure out which metric collection cause timeout exception 2021-12-17 21:39:23 +03:00
Vyacheslav Gerasimov 5369813acc Fix "IdeaWin64.dll not found" error when running tests on Windows 2021-12-17 21:28:10 +03:00
nataliya.valtman 999d2051ac Add listener's metrics 2021-12-17 17:38:55 +00:00
Svyatoslav Scherbina 3fd4d90cca Native: remove harmful assertions from NaiveSourceBasedFileEntryImpl
These assertions checked that nobody requests line and column number
for the UNDEFINED_OFFSET.
But diagnostic and crash reporting tools might request line and column,
and crashing during crash reporting is not great.

So handle UNDEFINED_OFFSET gracefully instead, in a conventional manner.
2021-12-17 14:49:34 +00:00
Artem Kobzar ab7615adaf fix: fake override on interfaces. 2021-12-17 14:22:46 +00:00
konstantin.tskhovrebov 8423374343 Fix gradle task name clash for Xcode framework tasks. 2021-12-17 15:07:07 +03:00
Rick Clephas 2c8086bbfe Preserve symlinks during framework copy 2021-12-17 15:07:06 +03:00
Dmitry Savvinov 46ab972cb1 Exclude common parts of kotlin-test from platform source sets
See details in linked issue. Tests are on the intellij-side

^KT-47570 Fixed
2021-12-17 15:04:51 +03:00
Dmitry Petrov 0805916564 IR KT-47483 handle 'Nothing' in array constructor call 2021-12-17 13:43:59 +03:00
Pavel Kunyavskiy c9e9cbb62d [K/N] Fix vtable generation for nested suspend function inheritance
^KT-50304
2021-12-17 10:30:48 +00:00
Ryan Nett 015176a738 Have kotlin-compiler-embeddable copy sources and javadocs from kotlin-compiler
#KT-42183 Fixed
2021-12-17 04:24:28 +03:00
nataliya.valtman 9e4f3e3848 KT-41689: Support statistics for Configuration Cache
#KT-41689 Fixed
2021-12-16 19:20:04 +00:00
Vyacheslav Gerasimov 84469d0c68 Build: Fix test runtime for kapt tests 2021-12-16 21:48:29 +03:00
Vyacheslav Gerasimov 4d87843925 Build: Set versions.trove4j to the version used in IDEA 203.8084.24 2021-12-16 21:48:27 +03:00
Vyacheslav Gerasimov 41902e69f5 Build: Move libraries versions from root project to versions.properties
and cleanup unused versions
2021-12-16 21:48:25 +03:00
Vyacheslav Gerasimov 443cbcbc3c Minor: Reformat and fix warnings in dependencies.kt 2021-12-16 21:48:24 +03:00
Vyacheslav Gerasimov 944c7990a1 Build: Use fake ideaHome for tests with intellij build number only
#KTI-82
2021-12-16 21:48:24 +03:00
Vyacheslav Gerasimov 516e54a434 Build: Drop Idea run configurations from jps.gradle.kts 2021-12-16 21:48:23 +03: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 9f725da7f7 Build: Stop building ivy repo from full Idea during buildSrc build
#KTI-82
2021-12-16 21:48:22 +03:00
Vyacheslav Gerasimov 318e001d1b Fix parcelize test dependencies on android plugin layoutlib
#KTI-82
2021-12-16 21:48:22 +03:00
Vyacheslav Gerasimov 049066f8ac Replace systemIndependentPath from Idea with invariantSeparatorsPath 2021-12-16 21:48:21 +03:00
Vyacheslav Gerasimov 0727981ae6 Build: Move kotlinxCollectionsImmutable helper to dependencies.kt 2021-12-16 21:48:21 +03:00
Vyacheslav Gerasimov 269366d8c3 Build: Drop obsolete form instrumentation 2021-12-16 21:48:20 +03:00
Vyacheslav Gerasimov b86e85624e Build: Use annotations dependency from intellij-dependencies maven repo
#KTI-82
2021-12-16 21:48:20 +03:00
Vyacheslav Gerasimov bc2f0936bd Build: Rename commonDep -> commonDependency 2021-12-16 21:48:19 +03:00
Vyacheslav Gerasimov 156ecce961 Build: Fix unconditional adding kotlin-reflect.jar for JPS build
Should be added only when JPS build enabled to avoid kotlin-reflect
reindexing after each build
2021-12-16 21:48:18 +03:00
Dmitry Petrov 8c71e38c92 JVM_IR KT-49765 bridge for throwing stub should just throw UOE 2021-12-16 21:07:12 +03:00
Steven Schäfer 3f22321643 jvm-abi-gen: Do not write kotlin.Metadata default values
See KT-39492. This does not affect compilation, but it causes problems
in IntelliJ.
2021-12-16 16:11:32 +01:00
Victor Petukhov e50e055eb4 [FE 1.0] Don't try to compute value parameters for variables while creating a flat signature for the overload resolution
^KT-50172 Fixed
2021-12-16 17:46:01 +03:00
Aleksei.Cherepanov c998582e13 Fix configuration [JPS] Generate All Tests
Add missing dependency kotlin.core.descriptors.runtime.main instead of only kotlin.core.descriptors.runtime.test dependency,  as ReflectClassUtilKt (in main source set) is needed for tests generation
2021-12-16 13:05:14 +00:00
Sergej Jaskiewicz 6dc69adcc9 [JS IR] Don't mark Char as a value class
Char will still be treated as a value class
(see JsInlineClassesUtils.kt)
2021-12-16 12:46:11 +00:00
Alexander Korepanov f99b80c8d2 [JS IR] Add a test case with same names for private val
The test case checks, that KT-44728 has been already fixed
2021-12-16 10:59:01 +00:00
Svyatoslav Scherbina 7b60c0427e Native: remove calculator and cocoapods samples
Redirect to the up-to-date alternatives.
2021-12-16 09:34:36 +00:00