Dmitry Petrov
88f41d006a
FIR2IR don't generate delegates for default interface members
2021-11-25 13:25:36 +03:00
Mikhail Glukhikh
0058d7e3d6
Add BB test for problem fixed with c2ab91d0
2021-11-24 15:30:33 +03:00
Dmitriy Dolovov
9c1c1805a3
[Native][tests] Log test process stdout/stderr when failed on timeout
2021-11-24 13:30:21 +03:00
Dmitriy Dolovov
3e0761b4fc
[Native][tests] Minor. Refactor AbstractRunner.RunResult
2021-11-24 13:30:15 +03:00
Dmitriy Dolovov
1d721f03b2
[Native][tests] Destroy test process that has not finished on time
2021-11-24 13:30:09 +03:00
Dmitriy Dolovov
536bfe5bf9
[Native][tests] Use more compact paths to produced binaries
2021-11-24 10:25:16 +03:00
Dmitriy Dolovov
34627633c4
[Native][tests] Add an ability to fail tests on exceeded timeout
2021-11-24 10:25:10 +03:00
Dmitriy Dolovov
a2ad9026a6
[Native][tests] Make file content comparison to be OS-neutral
2021-11-24 10:25:04 +03:00
Dmitriy Dolovov
bd3ae12e0a
[Native][tests] Minor. Update comments for TestModule/TestCase/TestCaseGroup
2021-11-24 10:24:59 +03:00
Dmitriy Dolovov
7ea66076eb
[Native][tests] Minor. Rename effectivePackageName to nominalPackageName
2021-11-24 10:24:52 +03:00
Dmitriy Dolovov
3fa5363434
[Native][tests] Fix sanitization of logged command-line arguments
2021-11-24 10:24:42 +03:00
Mads Ager
8255118204
[JVM] Do not extend local ranges across control-flow merges.
...
The coroutine method transformer extends the range of locals
across code where the local is not live when it is safe to do
so. However, it only bailed out for one case of control-flow
merging, namely backwards branches for loops. That is not
sufficient as there can be control flow merges without loops
where the local is only defined on one control-flow path.
This change generalizes the bailout to any control-flow merge.
^KT-49834 Fixed
2021-11-23 13:49:45 +01:00
Dmitry Petrov
55d1fdfbc2
JVM_IR prevent clash of unsubstituted special bridges
2021-11-23 12:05:13 +00:00
Dmitry Petrov
2179987de7
FIR2IR fix enum special methods generation
2021-11-23 06:34:33 +00:00
Victor Petukhov
a6fd14d4e6
[FE 1.0] Eliminate resolution ambiguity on inherited SAM-interfaces
...
^KT-17765 Fixed
2021-11-22 14:18:30 +03:00
Dmitry Petrov
e525e25518
JVM KT-47851 fix redundant checkcast elimination
2021-11-20 23:29:19 +03:00
Dmitriy Dolovov
445156f2fc
[Native][tests] Minor. Rename PackageName to PackageFQN
2021-11-18 22:37:38 +03:00
Dmitriy Dolovov
502fb96ccc
[Native][tests] Multi-file testData file sample with the same test methods in different packages
2021-11-18 22:37:30 +03:00
Dmitriy Dolovov
6cae6dc5e0
[Native][tests] Re-organize TestCaseGroupProvider
2021-11-18 17:02:44 +03:00
Dmitriy Dolovov
5f9bf1611e
[Native][tests] Re-organize packages in 'native.tests' module
2021-11-18 16:12:17 +03:00
Dmitriy Dolovov
e2d68fd239
[Native][tests] Make AbstractRunner.AbstractRun to be fun interface
2021-11-18 13:29:10 +03:00
Dmitriy Dolovov
fec63a5f1c
[Native][tests] Use a separate directory per every test module
2021-11-18 13:29:10 +03:00
Dmitriy Dolovov
358f1216ad
[Native][tests] Fix multimodule test samples to avoid @Test functions in modules compiled to KLIBs
...
Such functions are not included into the test-runner generated during compilation of the main module.
2021-11-18 13:29:10 +03:00
Dmitriy Dolovov
200d92c287
[Native][tests] Handle unexpected errors during test run
2021-11-18 13:29:10 +03:00
Dmitriy Dolovov
d13b4bfb25
[Native][tests] Minor. Simplify verification of expectations in LocalTestRunner
2021-11-18 13:29:10 +03:00
Dmitriy Dolovov
0f77c078e8
[Native][tests] Introduce TestRunner that knows how exactly to run an arbitrary test
2021-11-18 13:29:10 +03:00
Dmitry Petrov
30ceb49442
JVM_IR KT-48945 generate special bridge with unsubstituted signature
2021-11-17 17:44:01 +03:00
Dmitriy Novozhilov
8cdfec7c40
Regenerate tests
2021-11-17 09:43:27 +03:00
Dmitriy Dolovov
7ed3941580
[Native][tests] Update generated tests
2021-11-15 18:24:58 +03:00
Dmitriy Dolovov
503f159f4d
[Native] External tests: Preserve original line offsets
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
cc667189ec
[Native] External tests: Don't clean up test directives
...
This does not make sense anymore since external test data files are patched during test execution on the fly.
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
61b8fb8fc2
[Native][tests] Allow overriding test properties via Gradle properties
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
a029b50755
[Native][tests] Enable codegen_box_callableReference/genericConstructorReference.kt
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
4900aa673b
[Native][tests] Fix formatting of error message about failed test
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
9c70d5088c
[Native][tests] Don't warn when committed TestFile is committed again
...
Actually, there is nothing wrong with calling commit() again: Some TestFiles are created as uncommitted and require calling commit(), while others are created as committed from the very beginning.
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
407e82adbb
[Native][tests] Minor. Make computePackageName() a bit more comprehensive
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
e30f33b18d
[Native][tests] Minor. Prefer to use raw string literals for better readability
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
e5bb16c750
[Native][tests] Minor. Comments formatted
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
24f00f8fda
[Native][tests] Warn when committed TestFile is committed again
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
c014daf1b2
[Native][tests] Minor. Simplify StandardTestCaseGroupProvider.runForFirstMeaningfulStatement()
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
0e1c60d5ab
[Native][tests] Split TestExecutable -> TestExecutable/TestRun (part 2)
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
55a2d5cb4a
[Native][tests] Minor. Rename internal functions
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
fb0dda5a24
[Native][tests] Use ThreadSafeCache instead of ConcurrentHashMap
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
c219e53634
[Native][tests] Minor. Prefer using JUnit assertions over Kotlin checks
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
4bc48ea466
[Native][tests] Split TestExecutable into TestExecutable and TestRun
...
The latter keeps the list of run parameters now. It's assumed that the same TestExecutable instance can be run with different TestRuns.
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
6cef8c1f91
[Native][tests] Minor. Drop unused function
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
ce4d2093cc
[Native][tests] Use the single 'generateTests' task
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
54b09810f0
[Native] Rename :native:tests-blackbox.native to :native:native.tests
2021-11-15 18:15:41 +03:00