492 Commits

Author SHA1 Message Date
Dmitriy Dolovov 7bc0132cca [Native][tests] Don't fail tests on expected partial linkage warnings 2022-07-18 17:29:51 +02:00
Dmitriy Dolovov 66de825508 [Native][tests] Unmute klibABI/remove[Property|Function] tests
This reverts commit d60c93c1f8.
2022-07-18 17:29:50 +02:00
Dmitriy Dolovov 8283537673 [Native][tests] Don't fail tests on partial linkage warnings 2022-07-18 17:29:50 +02:00
Ilya Gorbunov cd9b36b4c3 Introduce OpenEndRange and make primitive ranges implement it
#KT-52932
2022-06-28 00:08:03 +00:00
Dmitriy Dolovov d60c93c1f8 [Native][tests] Temporarily mute klibABI/remove[Property|Function] tests 2022-06-20 12:30:01 +04:00
Dmitriy Dolovov c0cbd2e3ed [Native][tests] Fail tests on unexpected non-syntax/semantic warnings 2022-06-20 12:30:01 +04:00
Dmitriy Dolovov 34129d54e5 [Native][tests] Choose the appropriate cache mode for the target under test 2022-06-14 11:01:25 +00:00
Dmitriy Dolovov 48c4d4cf21 [Native][tests] Rename MemoryModel.DEFAULT to MemoryModel.LEGACY 2022-05-28 22:59:58 +03:00
Dmitriy Dolovov 70aaa212a5 [Native][tests] Track and report memory usage while tests are running 2022-05-24 10:39:30 +00:00
Dmitriy Dolovov 009e7f5c3a [Native][tests] Special logger to pass messages directly to Gradle console 2022-05-24 10:39:29 +00:00
Dmitriy Dolovov 6cf945f512 [Native][tests] Don't enforce test mode for KLIB ABI tests 2022-05-16 13:42:01 +00:00
Pavel Kunyavskiy 9801a21abb [K/N] Enable new mm for native by default 2022-05-11 10:26:13 +00:00
Dmitriy Dolovov 50de3d6257 [Native][tests] Add "compile only tests" mode 2022-05-06 15:02:59 +00:00
Dmitriy Dolovov e15000a6c2 [Native][tests] Add "force standalone tests" mode 2022-05-06 15:02:58 +00:00
Dmitriy Dolovov ebcbb9a6a6 Minor: Code style fix 2022-05-06 15:02:57 +00:00
Dmitriy Dolovov 59a136574a [Native][tests] New test infra: fail immediately if static cache for libs from the distribution is required but there is no such cache 2022-04-15 15:11:41 +03:00
Dmitriy Dolovov 3b3dab3d43 [Native][tests] Forbid using thread state checker with cache 2022-04-15 15:11:41 +03:00
Dmitriy Dolovov 24552a625c [Native][tests] Reorganize OUTPUT_DATA_FILE directive
Use it as one of [TestRunCheck]s.
2022-04-09 19:06:26 +00:00
Dmitriy Dolovov 996ff5085d [Native][tests] Introduce EXIT_CODE directive
It allows to specify the expected exit code for STANDALONE_NO_TR tests.
2022-04-09 19:06:25 +00:00
Dmitriy Dolovov 261e177b39 [Native][tests] Introduce EXPECTED_TIMEOUT_FAILURE directive
It allows to correctly handle tests that were failed by timeout where such failure is the expected behavior.
2022-04-09 19:06:24 +00:00
Dmitriy Dolovov 7cf3ca29af [Native][tests] Fix: Avoid including similar but mutually exclusive shared modules into the same compilation 2022-04-09 19:06:24 +00:00
Dmitriy Dolovov 0bc6885b2c [Native][tests] W/A: Generate test suites for included KLIB with tests
Relates to KT-51375
2022-03-29 14:55:57 +03:00
Dmitriy Dolovov 9ba5bf72ce [Native][tests] Support one/two stage test modes 2022-02-17 12:45:39 +03:00
Dmitriy Dolovov ab765f6c87 [Native][tests] Do not run test executable to fetch the list of test names
Use test listing produced during compilation instead.

^KT-50316
2022-02-17 12:45:38 +03:00
Dmitriy Dolovov b44c0f6789 [Native][tests] Always run DumpedTestListing test at the host target
This is for simplification’s sake. We need to run executable file with --ktest_list_tests flag and compare test listing with the test listing produced during the compilation.

^KT-50316
2022-02-17 12:45:38 +03:00
Dmitriy Dolovov 26ffd66a54 [Native][tests] Tests to check dumped test listing
^KT-50316
2022-02-17 12:45:38 +03:00
Dmitriy Dolovov 5500e3a332 [Native][tests] Support parsing dumped test listing
^KT-50316
2022-02-17 12:45:38 +03:00
Dmitriy Dolovov 5a26f58b24 [Native][tests] Refactoring: Rename TestListing* to GTestListing*
^KT-50316
2022-02-17 12:45:37 +03:00
Dmitriy Dolovov 4f0785cbb2 [Native][tests] Rename test tag "klib" to "klib-abi" to be more specific 2022-02-14 13:40:59 +03:00
Dmitriy Dolovov ca45252143 [Native][tests] Add separate Gradle tasks to run tests for stdlib and kotlin-test libraries 2022-02-14 13:40:59 +03:00
Dmitriy Dolovov 174f4cd220 [Native][tests] Rename Gradle task "externalTest" to "codegenBoxTest" 2022-02-14 13:40:59 +03:00
Dmitriy Dolovov 22d5d7343b [Native][tests] Drop obsolete "kotlin.internal.native.test.useCache" property 2022-02-14 13:40:59 +03:00
Svyatoslav Scherbina ff85d54c93 [Native][tests] Add full path to CLI compiler to the log
So the log now has a command to be run in terminal as is.
2022-02-09 12:47:20 +00:00
Ilya Matveev 23d606b053 [K/N][tests] Support setting GC scheduler in the new infra 2022-02-03 07:30:33 +00:00
Dmitriy Dolovov 2c3b2ccf6f [Native][tests] Fix failing black box tests due to misconfiguration 2022-01-28 16:23:36 +03:00
Dmitriy Dolovov 02022cf260 [Native][tests] Generate KLIB ABI tests twice - to run with and w/o cache 2022-01-28 16:23:36 +03:00
Dmitriy Dolovov 5d1884d8dc [Native][tests] Refactoring: Move configuration properties that can be overridden to class-level settings 2022-01-28 16:23:35 +03:00
Dmitriy Dolovov 709101a56b [Native][tests] Refactoring: Extract configuration properties from NativeTestSupport 2022-01-28 16:23:35 +03:00
Dmitriy Dolovov bfc7e3d825 [Native][tests] Use new Gradle property for cache mode 2022-01-28 16:23:35 +03:00
Ilya Matveev 1e78036a1b [K/N] Enable CMS GC by default for the new MM
Issue #KT-50713 Fixed
2022-01-28 12:24:57 +07:00
Mikhail Glukhikh eeadd8588d Drop CommonCompilerArguments.optInDeprecated
On the way to KT-22956
2022-01-27 11:48:22 +00:00
Mikhail Glukhikh ad0d0ca47f Drop redundant Suppress("RemoveExplicitTypeArguments") 2022-01-26 12:19:55 +00:00
Dmitriy Dolovov 02d74fbd87 [Native][tests] Pass "free compiler args" to static cache compilations
^KT-50775
2022-01-26 13:36:27 +03:00
Dmitriy Dolovov 33a09fbb77 [Native][tests] Support all cache modes in KLIB ABI tests
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov 008734f146 [Native][tests] Use fewer number of static cache directories
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov 255f97b771 [Native][tests] Support three modes for KLIB caches
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov 4b660d3503 [Native][tests] Load custom cache compiler args from konan.properties
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov f2bd2f3e7d [Native][tests] Keep KLIB dirs in KotlinNativeHome settings
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov 33ca8b528c [Native][tests] Support static cache as a separate compilation and dependency type
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov e03bfaee0b Minor. Comments fixed 2022-01-26 13:36:25 +03:00