Sergey Bogolepov
4f9c1860b1
[Native][Tests] Add tests for -Xbinary=cInterfaceMode=none
2024-02-20 15:23:22 +00:00
Sergey Bogolepov
dd25130464
[Native][Tests] Move existing CExport tests under the InterfaceV1 dir
...
To avoid collisions with the future InterfaceNone tests
2024-02-20 15:23:22 +00:00
Sergey Bogolepov
06c0977408
[Native][Tests] Refactor CExport tests for future changes
...
1. Unify BinaryLibraryKind type and move it to TestSettings
2. Pass it via ClassSettings instead of constructor parameters.
3. Update GenerateNativeTests.kt to generate CExport tests as a matrix.
2024-02-20 15:23:22 +00:00
Vladimir Sukharev
313b230333
[K/N][Tests] Ignore KonanDriverTest tests on MinGW/opt.debug/cache.no
...
^KT-61259
2024-02-20 12:56:58 +00:00
Vladimir Sukharev
223277f106
Revert "[K/N][Tests] Fix passing of -Xbinary options under MinGW"
...
This reverts commit ba217ad688 .
2024-02-20 12:56:58 +00:00
Vladimir Sukharev
2b2c685827
[K/N][Tests] Migrate dylib-interop-exe tests
...
^KT-61259
2024-02-19 18:44:08 +00:00
Vladimir Sukharev
ba217ad688
[K/N][Tests] Fix passing of -Xbinary options under MinGW
...
^KT-61259
2024-02-19 17:42:34 +00:00
Dmitriy Dolovov
1c3633c9f2
[Native][tests] Use new KLIB tool entry point for running tests
...
^KT-62340
2024-02-19 09:36:10 +00:00
Mark Mann
00ef313df2
[K/N] Add binary option to produce error on mangled objc names ( #5264 )
...
objcExportErrorOnNameCollisions=true binary option makes the compiler
emit an error whenever it mangles a name emitted by ObjCExport.
^KT-65863 Fixed
2024-02-16 18:17:30 +00:00
Pavel Punegov
42cba927e6
[K/N][test] Infra: implement race-free way to separate test cases
...
With shared test running test cases that may fail or timeout should
be excluded from shared run and executed separately.
This is done by getting all test cases for the current executable and
putting them to the map that is checked for all TestRuns
2024-02-15 18:07:25 +00:00
Pavel Punegov
07422d4feb
[K/N][test] Implement shared test execution of TestCases
...
Added the ability to execute multiple tests once and share the results.
With Test runner turned on tests are being compiled into the single
executable. Then they executed each one separately using --ktest_*
options. This commit makes test run executable once and the result goes
to the result handler.
2024-02-15 18:07:25 +00:00
Dmitriy Dolovov
ab814e1600
[KLIB tool] Update Kotlin/Native C-interop tests
...
^KT-62340
2024-02-15 15:38:27 +00:00
Dmitriy Dolovov
07767f88e2
[KLIB tool] Update KLIB metadata dump tests
...
^KT-62340
2024-02-15 15:38:27 +00:00
Vladimir Sukharev
20f6b0cb0c
[K/N][Tests] Migrate test ir_providers_mismatch
...
^KT-61259
2024-02-15 10:13:56 +00:00
Kirill Rakhman
802366064d
[FIR] Expand annotation types in annotation serialization
...
#KT-65659 Fixed
2024-02-15 08:27:44 +00:00
Vladimir Sukharev
243d6aed50
[K/N][Tests] Add test for KT-65659
...
^KT-65659
2024-02-15 08:27:44 +00:00
Vladimir Sukharev
bf0150108d
[K/N][Tests] Move filecheck and cinterop tests to /native/
...
^KT-61259
2024-02-14 23:36:34 +00:00
Vladimir Sukharev
fbe8db4b45
[K/N][Tests] Migrate test override_konan_properties0 and add testDriverVersion
...
^KT-61259
2024-02-14 12:16:23 +00:00
Vladimir Sukharev
9ef051dbc5
[K/N][Tests] Migrate test override_konan_properties0
...
^KT-61259
2024-02-14 12:16:22 +00:00
Vladimir Sukharev
d8a90f55a8
[K/N][Tests] Migrate driver test llvm_variant_dev
...
^KT-61259
2024-02-14 12:16:22 +00:00
Vladimir Sukharev
3ad8fed5a3
[K/N][Tests] Migrate test embedStaticLibraries.kt
...
^KT-61259
2024-02-14 11:56:59 +00:00
Vladimir Sukharev
06a89a0061
[K/N][Tests] Migrate test withSpaces.kt
...
^KT-61259
2024-02-13 22:14:30 +00:00
Vladimir Sukharev
2bb9b936ac
[K/N][Tests] Small cleanup
2024-02-13 22:14:30 +00:00
Sergey Bogolepov
3d0c9f9edd
[Swift export][Tests] Enable K1 version of tests
...
rrn prefix mostly uses K1, so we need to do so
2024-02-13 10:48:05 +00:00
Vladimir Sukharev
ab6c3847bc
[K/N][Tests] Add TODO for KT-64879
...
^KT-64879
2024-02-11 21:30:03 +00:00
Vladimir Sukharev
a0ffea48a2
[K/N][Tests] Use runProcess in doFileCheck
...
^KT-61259
2024-02-11 21:30:03 +00:00
Vladimir Sukharev
7cb372e66f
[K/N][Tests] Migrate test signext_zeroext_objc_export.kt
...
^KT-61259
2024-02-11 21:30:03 +00:00
Vladimir Sukharev
0ba509dcd6
[K/N][Tests] Adjust test signext_zeroext_interop.kt for different cache modes
...
^KT-61259
2024-02-11 12:44:31 +00:00
Sergey Bogolepov
b5cb1fddff
[KT-65126] Initial version of Swift export integration tests
...
Here we reuse infrastructure from existing ObjC Framework tests.
It is not the prettiest approach, and ideally we would like to use XCTest,
but for now we need to quickly kick-start end-to-end tests.
2024-02-10 13:49:01 +02:00
Sergey Bogolepov
2d01c4ca4c
[Native][Tests] Extract more common code
...
* modulemap files are required for Swift export integration tests
* we are going to reuse legacy test infrastructure for now
2024-02-10 13:49:01 +02:00
Sergey Bogolepov
95429b52f9
[Native][Tests] Generalise SwiftCompilation
...
We will produce dynamic libraries in case of Swift export tests,
and we don't need some flags there as well.
2024-02-10 13:49:01 +02:00
Sergey Bogolepov
22a6ffab6f
[Swift export][KT-65672] Update SwiftTypeCheckBaseTest
2024-02-09 10:15:50 +00:00
Artem Olkov
ffed0ecf1f
add check for SwiftExport golden-data by running swift compiler #KT-65559 fixed
...
Merge-request: KT-MR-14210
Merged-by: Artem Olkov <artem.olkov@jetbrains.com >
2024-02-08 09:40:52 +00:00
Alexander Shabalin
dd9f702516
[K/N][tests] Make InfrastructureDumpedTestListingTest run on other targets
2024-02-07 22:06:25 +00:00
Alexander Shabalin
f0c9033205
[K/N][tests] Extract Settings.executor
2024-02-07 22:06:25 +00:00
Alexander Shabalin
5bd78e1bf2
[K/N][tests] Merge LocalResultHandler and ResultHandler
2024-02-07 22:06:25 +00:00
Alexander Shabalin
8d696dae03
[K/N][tests] Remove now unused LocalTestNameExtractor
2024-02-07 22:06:25 +00:00
Alexander Shabalin
234eb29bab
[K/N][tests] Use runProcess in InfrastructureDumpedTestListingTest
2024-02-07 22:06:25 +00:00
Vladimir Sukharev
72d92cd9b2
[K/N][Tests] Don't make per-file-cache from given dependencies
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
e20b91ab30
[K/N][Tests] Fix FreeArgs
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
e4d36d3840
[K/N][Tests] Fix wrong root cache path
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
95b1fba37f
[K/N][Tests] Clean up framework testing code
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
c72443e4be
[K/N][Tests] Move "-Xcache-directory" flag generation to BasicCompilation
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
8ce8441409
[K/N][Tests] Split away cache-dependent part of "multiple" test
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
fc6fc8d122
[K/N][Tests] Check lazy headers in K1's ObjCExportTest
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
025771460c
[K/N][Tests] Migrate framework and objcexport tests
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
f00a145dd7
[K/N] Don't cut cinterop exceptions from TC logs.
2024-02-05 15:47:01 +00:00
Vladimir Sukharev
118a5cee06
[K/N][Tests] Cleanup tests code from old infra
...
^KT-61259
2024-01-31 16:17:21 +00:00
Vladimir Sukharev
2276abfb85
[K/N][Tests] Use GTest patterns for ignored tests
...
^KT-61259
2024-01-31 16:17:21 +00:00
Vladimir Sukharev
1ca79e645a
[K/N][Tests] Use runProcess for code signing
...
^KT-61259
2024-01-31 16:17:21 +00:00