Alexey Tsvetkov
9d6cd6f0e2
Normalize paths in AbstractLookupTrackerTest
...
Otherwise the tests are failing on Windows
Original commit: 0226d15d29
2017-08-11 20:51:06 +03:00
Alexey Tsvetkov
23c84d07e2
JPS: completely skip chunk containing only dummy targets
...
Such chunks were added in intellij-community, see
commit fdeae7754c593e78b6748dfa66ce7198c2780d35
(https://github.com/JetBrains/intellij-community/commit/fdeae7754c593e78b6748dfa66ce7198c2780d35 )
Original commit: 99439620d4
2017-08-10 22:05:48 +03:00
Alexey Tsvetkov
450022e5fd
Add JS specific proto comparison test
...
Original commit: 239943867b
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
d36907bc8f
Add proto comparison tests where members annotations are changed
...
Original commit: 0d3b882852
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
6c03741ed3
Treat SEALED_SUBCLASS_FQ_NAME_LIST change as a class signature change
...
#KT-19580
Original commit: 6354d9d54f
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
2d35732e94
Treat JS class annotation list change as class signature change
...
Original commit: 856276328e
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
dd2719ade1
Add raw ProtoCompareGenerated output to proto comparison test data
...
Original commit: e0ef08cf18
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
32af858914
Minor: rename js.result.out->result-js.out
...
This way result.out and result-js.out are closer in
a list of files (e.g. in Intellij project view).
Original commit: 642c5414a3
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
6358a239f4
Compare lookups after comparing build logs
...
This way tests are more informative when
compilation goes wrong.
Original commit: 7e7fcd352c
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
309bca8861
Add JS lookup tracker tests
...
Original commit: 82c977f2d2
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
cc025e5eb1
Extract JVM lookup tracker tests
...
Original commit: 6cfd090b20
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
f2837bd230
Show in lookup tracker log if there is no lookups in file
...
Original commit: f3f7ca4b95
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
1faa21470e
Minor: reformat AbstractLookupTrackerTest#runCompiler
...
Original commit: ab90221a93
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
519036b28e
Decouple lookup tracker tests from JPS
...
Original commit: 485e2345a9
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
083424a4b3
Extract LookupTracker service from IncrementalCompilationComponents
...
We don't need a `TargetId` to `IncrementalCache` mapping in JS
Original commit: bb2fab5b5d
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
db6a1de155
Remove .touch actions for lookup test cases that fail to compile
...
It is useless to touch and recompile, because the first compilation
has failed anyway
Original commit: a4c7dbd693
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
bf22bdadc1
Do not print NONE changes in proto tests
...
otherwise MainKt: NONE is added in all js tests
Original commit: 61b3c1c429
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
0a78d2d299
Isolate JS compiler in proto tests
...
Proto tests are still in the 'jps-tests' module
which is included in non-compiler tests.
It is not safe to call the compiler
directly in non-compiler tests
because it might affect IDE tests.
Original commit: 1cce1ef1f6
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
8ffde5fa69
Implement JS proto comparison
...
Original commit: ed5b6e07aa
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
1b34503d35
Minor tweak to proto test data format
...
Original commit: 8ffd141d17
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
164d133042
Extract JVM specific proto comparison test
...
Original commit: 1921950a1b
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
772224fb63
Always print class id in proto comparison test
...
A name of class file was used for added and removed classes
before the change.
The change is required for reusing the test data in js proto comparison
tests (there is no classfiles in js, so it is hard to
emulate jvm classfiles names for inner/nested classes).
Original commit: cc24b9f4ad
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
dbbfed2ce2
Move JVM specific proto comparison tests to separate dir
...
Original commit: 5dd4e4cdd4
2017-08-10 21:19:41 +03:00
Alexey Sedunov
25757d134a
Kotlin Facet: Fix element ordering in compiler arguments XML
...
Do not rely on method list as it's ordered differently
Original commit: cf3615d279
2017-08-09 00:03:28 +03:00
Alexey Sedunov
cfc6aef1d0
Support mutable/immutable compiler arguments
...
Original commit: 40163868af
2017-08-01 19:40:37 +03:00
Alexey Sedunov
cf4b0a8933
Fix reflection-based operations on compiler arguments after conversion
...
Original commit: 2984a5a19f
2017-08-01 19:40:22 +03:00
Alexey Sedunov
616c32483c
J2K: CommonToolArguments and inheritors
...
Original commit: 50599c933f
2017-08-01 19:36:49 +03:00
Alexey Tsvetkov
316cdc13dc
Ensure IC.isEnabled is not modified by tests
...
Original commit: 69b4d213b7
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
654be46791
IC should be enabled explicitly by build systems
...
The change only affects JPS on TeamCity (in Intellij IC system property
is always set explicitly; the same holds for Gradle, Maven).
Previous changes have effectively enabled the new IC (which is now default)
for TC JPS builds, which is undesirable as more RAM is used.
Original commit: 514635e965
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
e93497e995
Avoid marking dirty dependencies from already compiled chunks
...
#KT-17397 fixed
Original commit: 5ce3a436c7
2017-07-31 19:34:59 +03:00
Alexey Tsvetkov
a7db839ba0
Minor: add dummy.kt to some IC tests
...
This makes it impossible to pass the tests
by rebuilding everything.
Original commit: 3f471d1ac6
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
d1fd235dfd
Remove old IC: remove experimental tests
...
Original commit: e602903567
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
380d3563eb
Remove old IC: remove experimental cache version
...
Original commit: 534db2d45b
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
33c6d52643
Remove old IC: update KotlinJpsBuildTest
...
Original commit: a4a0335b20
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
4f8908c329
Remove old IC: remove unnecessary caches
...
Original commit: 62fdd91947
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
66fbde0df0
Remove old IC: fix constant search test
...
The tests were not run with the new IC before
Original commit: aea5293288
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
5a3ef0bfc1
Remove old IC: update on-off tests
...
Original commit: 8143ca158b
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
8a030b302a
Remove old IC: remove experimental-expected-kotlin-caches.txt
...
Original commit: e7afb073d9
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
1b94afaedc
Remove old IC: remove experimental-ic-build.log
...
This commit moves each experimental-ic-build.log
into a corresponding build.log file.
Original commit: 5af9d29cbe
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
7e9be9ef8e
Remove old IC: remove IncrementalCompilation.isExperimental
...
Original commit: 2bd7d12312
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
ea674ecd97
Remove old IC: remove flags from CompilationResult
...
Original commit: 50091bfac8
2017-07-31 19:34:58 +03:00
Alexander Udalov
8bccb53e20
Drop deprecated KotlinPaths.getRuntimePath, use getStdlibPath instead
...
Original commit: 8b149db0ec
2017-07-28 14:16:48 +03:00
Alexander Udalov
ddb863f4a6
Refactor utilities in AbstractKotlinJpsBuildTestCase
...
Original commit: b988582531
2017-07-28 14:16:47 +03:00
Alexander Udalov
9332bd3b97
Move JPS-related kotlin-home detection code to jps-plugin
...
Original commit: 4b42f9e071
2017-07-28 14:11:35 +03:00
Alexander Udalov
3c4c7734e2
J2K PathUtil: convert and prettify
...
Original commit: 46a01ec131
2017-07-28 14:11:35 +03:00
Mikhael Bogdanov
45628a15fb
Properly generate inner classes when compiling source for inline
...
KT-19175: Compiler generates different bytecode when classes are compiled separately or together
#KT-19175 Fixed
Original commit: ff676c050f
2017-07-26 20:31:14 +02:00
Alexander Udalov
5747e1505a
Refactor AnalysisFlags and their support in IDE
...
* Support flags with any value (not just Boolean)
* Support all flags by parsing arguments in KotlinFacetSettings, instead
of manually listing known flags
#KT-19210 Fixed
Original commit: 2f99f6ad34
2017-07-26 11:45:24 +03:00
Mikhail Zarechenskiy
f6eb56c4cc
Simplify diagnostic when there are wrong number of type arguments
...
#KT-12767 Fixed
Original commit: ee173077c0
2017-07-12 14:37:27 +03:00
Ilya Chernikov
ba786ee7e2
Rolling back commits related to Unit -> Void? confersion in RMI interface
...
since it breaks the compatibility and doesn't actually help - the problem
with NoClassDef Unit is apparently elsewhere.
Original commit: fc12f37105
2017-07-11 15:06:38 +02:00
Mikhail Glukhikh
3f0e3902f0
More cleanup: lift return / assignment out
...
Original commit: dfe2c16bc7
2017-07-10 12:59:58 +03:00