Commit Graph

294 Commits

Author SHA1 Message Date
Alexander Gorshenev 58ea71cb0e Made test runner work with binary compatibility tests
(cherry picked from commit e0b599a632b94e4b1303fc94275dcd5b6a7dfb6b)
2021-02-01 16:54:15 +01:00
Vasily Levchenko 3378aeddb5 [interop][c][reverse][test] (KT-36639) 2021-02-01 16:54:14 +01:00
Pavel Punegov 8a48609823 Lazy task creation in konan plugin using Gradle Providers API.
Removes obsolete CMake task and IDE model.

Use Provider API for klib files. Replace findAll with matching to make tasks configure lazily

Make some test tasks use lazy configuration

Fix adding tasks to lists. Add it. to all fields to improve IDEA navigation

Remove obsolete IDE model from the task

Remove tooling model tests

Fix aggregate task dependency

Fix run tasks. Cleanup

Review fixes
2021-02-01 16:54:14 +01:00
Alexander Shabalin 716326a60f Disable erroneously enabled tests on wasm (#4652) 2021-02-01 16:54:14 +01:00
Alexander Shabalin 77e2b9f9a0 Disable running checkers by default (#4644)
* Make checkers be disabled by default

* Allow running checkers in test launcher
2021-01-26 17:38:03 +03:00
LepilkinaElena 71f44dce0f Added StringTrimLowering to pipeline (#4647) 2021-01-26 17:38:02 +03:00
Pavel Punegov 73297a4ef3 Remove obsolete comments in the test 2021-01-26 17:38:02 +03:00
Pavel Punegov 6cc74a1b66 Better fix for the test: check for NUSInteger size 2021-01-26 17:38:02 +03:00
Pavel Punegov b565562a1f Fix architecture check in the test 2021-01-26 17:38:02 +03:00
Pavel Punegov e241d1249c Fix NSUInteger size for Watchos x64 2021-01-26 17:38:02 +03:00
Alexander Shabalin a362742a37 Enable C++17 (#4623) 2021-01-19 13:37:37 +03:00
Igor Chevdar 1222b72dcd [IR] Fix for https://youtrack.jetbrains.com/issue/KT-44219 + test 2021-01-19 13:37:36 +03:00
SvyatoslavScherbina d401d29418 Run stdlib tests in worker too 2020-12-28 22:55:50 +03:00
Sergey Bogolepov b2070c5243 Fix tests on qemu-arm and qemu-aarch64 2020-12-21 16:18:37 +01:00
Igor Chevdar 9b84d72a44 [objc][codegen] Fixed bug with calling fake override interface methods 2020-12-21 16:15:11 +01:00
LepilkinaElena 55cb50e15b Added test for inlining accessors of const properties (#4589)
(cherry picked from commit fa4cd091ae9160b97d79bd318cc92f76ada82fec)
2020-12-14 15:31:10 +01:00
SvyatoslavScherbina c7bc8f0691 Don't generate ObjCExport bridges for private setters of public properties
#KT-43599 Fixed
2020-12-14 15:25:37 +01:00
Alexander Shabalin c582612bd7 Restore runtimeState value in deinitRuntime (#4587) 2020-12-14 15:25:37 +01:00
Alexander Shabalin 783517dbe8 Fix unchecked runtime shutdown (#4575) 2020-12-14 15:25:37 +01:00
SvyatoslavScherbina 62272f54c1 Fix isa swizzling for Kotlin subclasses of Obj-C classes
Don't rely on indexed ivars of instance's isa since isa swizzling
replaces it. Use method instead, it works on the replacement too
(if it is a subclass of the original isa).

 #KT-42482 Fixed.
2020-12-14 15:25:37 +01:00
Igor Chevdar e2cbe53776 [IR] Supported value classes 2020-12-14 15:25:36 +01:00
Sergey Bogolepov 12723fb009 Add test for KT-43517 and KT-43530 2020-12-14 15:25:36 +01:00
Igor Chevdar 606fbe37fc [IR] Turned off IR validation for everything but our tests 2020-11-28 21:12:17 +01:00
LepilkinaElena 63b1aad3ef Added test to check fields deserialization from caches (#4540) 2020-11-28 21:07:18 +01:00
Alexander Shabalin ee508efb23 Add a switch to destroy runtime only on shutdown (#4482) 2020-11-28 21:01:54 +01:00
Sergey Bogolepov c0a83f48bf [KT-43265] Add reproducer to tests. 2020-11-28 20:58:15 +01:00
SvyatoslavScherbina 3e92699962 Fix MutableMap.entries.contains(Map.Entry)
#KT-42428 Fixed.
2020-11-28 20:56:38 +01:00
Pavel Punegov 625915eebb Cache testing with debug build 2020-11-28 20:54:08 +01:00
Pavel Punegov 3550e0629a Fix more dynamic interop tests: correct target name with host name comparison 2020-11-28 20:54:08 +01:00
Pavel Punegov f309601a39 Disable test, that fails with SIGSEGV: KT-43180 2020-11-28 20:54:08 +01:00
Alexander Shabalin cbdd6fd245 Fix interop_cleaners_second_thread 2020-11-28 20:54:08 +01:00
Pavel Punegov d0cd2f2f8d Fix tests target usage 2020-11-28 20:54:07 +01:00
Alexander Shabalin fc7cf48798 Tests on migrating main thread and memory leaks with interop (#4494) 2020-11-28 20:54:06 +01:00
Campbell Jones 4c9bbe54d4 Improve compatibility with newer GCC+Clang, resolve some warnings 2020-11-28 20:53:03 +01:00
Svyatoslav Scherbina 58855b9eff Expose enum .values function when generating Obj-C header 2020-11-28 20:53:01 +01:00
Svyatoslav Scherbina d218b88106 Forbid subclasses of NativePointed to have backing fields
(this crashes the compiler otherwise)
2020-11-28 20:52:24 +01:00
Svyatoslav Scherbina d4beef6872 Add trivial test for CStructVar declared in source code 2020-11-28 20:51:55 +01:00
Abduqodiri Qurbonzoda e061e0a687 Remove ExperimentalStdlibApi opt-in previously needed for CancellationException
(cherry picked from commit 6a4e568687541a0f09f5e929a2dd6e28ea38246c)
2020-11-28 20:51:03 +01:00
SvyatoslavScherbina 77fcc0d010 Fix type safe barrier bridges for generics with non-trivial upper bound 2020-11-28 20:51:01 +01:00
Vasily Levchenko 59a6a25c82 [debug][bindings][tests] temprorary output changes matching to current binding formmating. 2020-11-28 20:48:59 +01:00
Sergey Bogolepov 93f9caf568 Add a test for -Xoverride-konan-properties
Add a trivial test that checks that `-Xoverride-konan-properties` overrides corresponding properties of LLVM optimization pipeline.
2020-11-28 20:48:58 +01:00
Alexander Shabalin 4297b521e4 Remove unneeded zeroing TLS (#4480) 2020-11-28 20:48:55 +01:00
SvyatoslavScherbina 47c606f1eb Wrap worker jobs to autoreleasepool
#KT-42822 Fixed.
2020-11-28 19:44:18 +01:00
Stanislav Erokhin f624800b84 Move everything under kotlin-native folder
I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
2020-10-27 21:00:28 +03:00