492 Commits

Author SHA1 Message Date
Dmitriy Dolovov ca27eac254 [Native][tests] Refactoring: Use typed compilations and artifacts
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov 7df68af664 [IR, Native] KLIB ABI tests: backup but don't overwrite artifacts
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov 3648ae222c [IR, Native] KLIB ABI tests: add support to new test infrastructure
^KT-50775
2022-01-26 13:36:25 +03:00
Pavel Punegov 6f323dd33a [K/N][test] Ignore stdlib test in new infra 2022-01-14 08:15:09 +00:00
Dmitriy Dolovov 8ea6221932 Minor: Update comment 2022-01-11 22:05:01 +03:00
Pavel Punegov 276dcfb4a7 [K/N][test] Remove tests from excludes. Tests were excluded separately 2022-01-10 09:01:06 +00:00
Dmitriy Dolovov 52c1a339c4 [Native][tests] Simplify CacheKind.WithStaticCache setting 2021-12-29 16:27:39 +03:00
Dmitriy Dolovov c47f0f16d2 [Native][tests] Gradle property: kotlin.internal.native.test.target 2021-12-29 16:27:39 +03:00
Dmitriy Dolovov 1b241e04b2 [Native][tests] Extend logged environment variables and JVM properties 2021-12-29 16:27:39 +03:00
Dmitriy Dolovov dae71e3112 [Native][tests] Fix globs expansion on Windows 2021-12-29 16:27:38 +03:00
Dmitriy Dolovov 8b8eb23b96 [Native][tests] Minor. Fix typo 2021-12-29 16:27:38 +03:00
Dmitriy Dolovov a338cc31cb [Native][tests] Gradle property: GCType 2021-12-29 16:27:37 +03:00
Dmitriy Dolovov 2b43dce1a5 [Native][tests] Gradle property: ThreadStateChecker 2021-12-29 16:27:37 +03:00
Dmitriy Dolovov 9dbb844742 [Native][tests] Gradle property: MemoryModel 2021-12-29 16:27:37 +03:00
Dmitriy Dolovov dbd7a05c7e [Native][tests] Gradle property: OptimizationMode 2021-12-29 16:27:37 +03:00
Mikhail Glukhikh c12d1930b4 Fix FIR bootstrap (related to KT-49925) 2021-12-21 00:02:12 +03:00
Dmitriy Dolovov 37d866c95a [Native][tests] Fix parallel test execution 2021-12-20 12:35:48 +03:00
Dmitriy Dolovov a707a7a65a [Native][tests] Use single instance of AbstractExternalNativeBlackBoxTest for consistent caching of source transformers
This also makes sense for all inner classes under AbstractExternalNativeBlackBoxTest.
2021-12-20 12:35:48 +03:00
Dmitriy Dolovov a440864de4 [Native][tests] Extract all external source-transformation logic into AbstractExternalNativeBlackBoxTest
This abstract class is used only for generated external codegen box tests that may have custom source transformers.
2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 72bb38dc68 [Native][tests] Re-organize Gradle tasks and test suite classes 2021-12-20 12:35:47 +03:00
Dmitriy Dolovov eb371fa5e0 [Native][tests] Truncate large test output to avoid blowing up in logs 2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 51a79c4592 [Native][tests] Move "samples" tests to infrastructure tests 2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 8e98deb3b0 [Native][tests] Read stdout/stderr of test process in separate threads
Sometimes, the launched test process can't finish on Windows if stdout and stderr threads are not read completely. The proper approach here would be to spawn two threads for constantly reading stdout & stderr while the process in being executed.
2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 50d766166b [Native][tests] Run stdlib tests with & without workers 2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 3e54bb06ee [Native][tests] Add a directive to specify test runner type 2021-12-20 12:35:47 +03:00
Dmitriy Dolovov 580328ece7 [Native][tests] Fix: Avoid IO exceptions on Windows while expanding globs 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 49755e0aae [Native][tests] Fix: Location of OutputFilter test 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 83a7379cc4 [Native][tests] Fix: Provide correct path to K/N stdlib in compiled tests 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov b78ff1d61a [Native][tests] Minor. Organize imports 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov ab4f60b105 [Native][tests] Fix: Avoid unnecessary canonicalization of FS paths
This may lead to IO errors.
2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 3d8fce4edb [Native][tests] Log environment variables and JVM properties 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov a81c44301d [Native][tests] Separate Gradle tasks for different types of tests 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 3756634b84 [Native][tests] Add OutputFilter test 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 445ffa9970 [Native][tests] Add TestListing test 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov 304d2ad768 [Native][tests] Add NamedEntities test 2021-12-20 12:35:46 +03:00
Dmitriy Dolovov cdbbc70116 [Native][tests] Drop TestFunction/FunctionName, introduce TestName instead 2021-12-20 12:35:45 +03:00
Dmitriy Dolovov 7abfe4d47b [Native][tests] Rework PackageName entity 2021-12-20 12:35:45 +03:00
Dmitriy Dolovov a98d1d2b11 [Native][tests] Minor. Rename test infra-related tests for easier distinguishing 2021-12-20 12:35:45 +03:00
Dmitriy Dolovov bb01c4cbbb [Native][tests] Filter test output to suppress TEAMCITY-related messages 2021-12-20 12:35:45 +03:00
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