Alexander Shabalin
3c097ee5e0
Revert "Revert "[K/N][Tests] Migrate driver test llvm_variant_dev""
...
This reverts commit dc4f12f29c .
2024-03-12 15:42:06 +00:00
Igor Yakovlev
7c16528560
[Wasm] PL tests implementation for Wasm target
...
Fixed #KT-58088
2024-03-12 14:36:45 +00:00
Alexander Shabalin
aee87468a6
[K/N][tests] Move stress tests into a separate project
2024-03-07 15:01:30 +00:00
Sergej Jaskiewicz
67afd12f94
[test] Remove redundant signature clash diagnotic test from Native tests
...
Since d8d8f24f62 the tests for this
diagnostic are run with the Compiler Core test infrastructure
(see `compiler/testData/diagnostics/klibSerializationTests`)
There is no need to test it separately in `FirCompilerOutputTest`.
^KT-64393 Fixed
2024-03-06 16:05:40 +00:00
Pavel Punegov
8ef2d49ab0
[K/N][test] Refactor test results handling
...
Move handling to appropriate TestRunCheck instances to make
them separate from each other. Also this makes it possible to
use separately from the ResultHandler on specific scenarios like
in FrameworkTest.
2024-03-06 13:32:32 +00:00
Pavel Punegov
5ddfd4fd91
[K/N][test] Check test filtering with different run parameters
...
Adds additional checks when different test filtering is used, like
ignored tests filter.
This makes SharedExecutionBuilder be able to handle tests separately
but run together in the executable.
2024-03-06 13:32:32 +00:00
Pavel Punegov
8907885a75
[K/N][test] Refactor test run checking
...
Make test filtering matching be a check instead of the verification
code in ResultHandler. This allows turning it on/off for specific
test cases and have different checking strategies.
2024-03-06 13:32:32 +00:00
Vladimir Sukharev
90aeac945d
[K/N][Tests] Support IGNORE_NATIVE and DISABLE_NATIVE in StandardTestCaseGroupProvider
...
^KT-61259
2024-03-02 08:38:10 +00:00
Vladimir Sukharev
b6a6b12f0f
[K/N][Tests] Rename compileToExecutable to reflect its one-staged behavior
...
^KT-66014
2024-03-01 13:53:38 +00:00
Pavel Punegov
3cc117336a
[K/N][test] Eager test group creation based on test roots
...
This commit adds an option to make test grouping eagerly create larger
groups of tests. Each MetaGroup is created based on the test root the
test file is located in. Test compilation tries to compile all
compatible tests in the group into the final binary/executable.
This grouping strategy allows infrastructure to reduce the number of
produced artifacts, and along with running tests from the same binary,
reduce execution time.
This is a part of ^KT-58928 to implement running tests on iOS devices.
2024-03-01 12:15:22 +00:00
Vladimir Sukharev
4d723bfa85
[K/N][Tests] Migrate test kt63243
...
^KT-61259
2024-03-01 11:38:49 +00:00
Dmitriy Dolovov
d8d8f24f62
[Test] Add Native backend tests to check conflicting signatures
...
^KT-64393
2024-02-29 16:44:45 +00:00
Dmitriy Dolovov
b0dc5b8a93
[Test] Support running Fir/Native diagnostic tests with backend
...
^KT-64393
2024-02-29 16:44:45 +00:00
Dmitriy Dolovov
05628660ba
[Test] Implement classic & Fir Native KLIB facades for test infra
...
With these test facades it would be possible to serialize Native
test modules to KLIBs.
^KT-65117
2024-02-29 16:44:45 +00:00
Alexander Shabalin
0882d1752d
[K/N][tests] Fix path-separator handling ^KT-65977
2024-02-27 13:20:50 +00:00
Alexander Shabalin
c491858a49
[K/N][tests] Add EnforcedHostTarget to atomicfu tests ^KT-65977
2024-02-27 13:20:50 +00:00
Artem Olkov
f493df42a9
[Swift Export] fix swift export full test by adding missing runtime modulemap
...
Merge-request: KT-MR-14627
Merged-by: Artem Olkov <artem.olkov@jetbrains.com >
2024-02-27 08:15:12 +00:00
Artem Olkov
dd9332d9e1
Add kotlin runtime modulemap for swift export as part of kotlin-native dist #KT-65673 fixed
...
Co-authored-by: Alexander Shabalin <alexander.shabalin@ashabalin.me >
Merge-request: KT-MR-14493
Merged-by: Artem Olkov <artem.olkov@jetbrains.com >
2024-02-26 12:51:57 +00:00
Abduqodiri Qurbonzoda
7978f63d37
Set AV to 2.0 in K/N StdlibTest
2024-02-26 10:48:29 +00:00
Vladimir Sukharev
425381ddf9
[K/N][Tests] Improve test UX for wrong combination of OPT and CACHE modes
2024-02-23 15:06:16 +00:00
Vladimir Sukharev
947b825d77
[K/N][Tests] Ignore test kt56402 with caches
...
^KT-66032
2024-02-22 22:41:37 +00:00
Vladimir Sukharev
98c3147d19
[K/N][Tests] Fix ComplexCInteropTest.kt to respect 2-stage compilation
...
^KT-66014
2024-02-22 22:41:37 +00:00
Alexander Shabalin
dc4f12f29c
Revert "[K/N][Tests] Migrate driver test llvm_variant_dev"
...
This reverts commit d8a90f55a8 .
2024-02-22 14:56:13 +00:00
Alexander Shabalin
4765cfda53
Revert "[K/N][Tests] Migrate test override_konan_properties0"
...
This reverts commit 9ef051dbc5 .
2024-02-22 14:56:13 +00:00
Alexander Shabalin
8518c3f54f
Revert "[K/N][Tests] Migrate test override_konan_properties0 and add testDriverVersion"
...
This reverts commit fbe8db4b45 .
2024-02-22 14:56:13 +00:00
Alexander Shabalin
876be8f17a
Revert "[K/N][Tests] Ignore KonanDriverTest tests on MinGW/opt.debug/cache.no"
...
This reverts commit 313b230333 .
2024-02-22 14:56:13 +00:00
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