Commit Graph

10177 Commits

Author SHA1 Message Date
nataliya.valtman d089d27bef Add proper kotlin version into http reports 2022-02-08 16:24:15 +00:00
Hung Nguyen d018031cbf KT-45777: Clean up build cache tests for incremental compilation
- Clean up BuildCacheRelocationIT.testKotlinIncrementalCompilation
 - Delete BuildCacheIT.testKotlinCompileIncrementalBuildWithoutRelocation
   as it is already covered by the test in BuildCacheRelocationIT
 - Add BuildCacheRelocationIT.testKotlinIncrementalCompilation_withClasspathSnapshot
- Updated BuildCacheRelocationIT.testKotlinIncrementalCompilation_withClasspathSnapshot
2022-02-08 18:07:38 +03:00
sebastian.sellmair 200cc9f75f [Gradle][MPP] Disabled CInteorp warning: Show cinterops instead of compilations
KT-51176
2022-02-08 09:22:15 +01:00
sebastian.sellmair 56de13fe2f [Gradle][MPP] Show (potential) warning on disabled cinterop commonization
^KT-51176 Verification Pending
2022-02-08 09:22:15 +01:00
Ilya Goncharov 77b367fe96 rra/ilgonmic/ic-to-compiler
[JS IR] Fix compilation in tests

[JS IR] Fix test after migrating IC to compiler

[JS IR] Fix memory leak

[JS IR] Move js ic to compiler

Merge-request: KT-MR-5673
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>
2022-02-07 11:40:16 +00:00
nataliya.valtman 56207abc27 KT-34862: Add kotlin build dir as output
build history files are non cacheable outputs
#KT-34862
2022-02-07 10:09:36 +00:00
Ilya Gorbunov 771eff503b stdlib-docs: Use local ext link to stdlib instead of default
When building kotlin.test docs, do not query kotlinlang.org
for stdlib package list, but use the one built locally beside.
This avoids build failures when the site is not available.
2022-02-05 06:21:49 +00:00
Pavel Punegov 1ce7286c86 [Gradle][K/N] Don't use Gradle daemon <= 6.9 on macOS arm64
Native Apple Silicon support was added in 6.9. Older versions suffer
from inability to set environment variables in the daemon process
2022-02-04 13:21:47 +00:00
Pavel Punegov da3f81c5da [Gradle][test] Fix test to run it on macos arm64 hosts
Ignore tests with old ktor and coroutines on this target
Add test with newer versions that support arm64
2022-02-04 13:21:47 +00:00
Pavel Punegov ecf1eef8db [Gradle][test] Run IR linker test only on macos x64
Arm64 is supported in newer versions of Ktor and coroutines that
don't reproduce linkage failure
2022-02-04 13:21:46 +00:00
Pavel Punegov da6409d0ca [Gradle][test] CocoaPods test: force gem output to stdout 2022-02-04 13:21:46 +00:00
Pavel Punegov 74ac51a4cb [Gradle][test] Ignore test that fails due to the ^KT-50925 2022-02-04 13:21:46 +00:00
Pavel Punegov a4e4ffdf29 [Gradle][native] Generate run tasks for macos_arm64
^KT-48649 Fixed
2022-02-04 13:21:45 +00:00
Pavel Punegov a8f2e9ced7 [Gradle][test] Correct iOS simulator targets for both x64 and arm64 2022-02-04 13:21:45 +00:00
Pavel Punegov 219d5e3ecf [Gradle][test] Filter out connection message from stdout 2022-02-04 13:21:44 +00:00
Pavel Punegov 9b55ec43e7 [Gradle][test] Don't use daemon when testing environment variables 2022-02-04 13:21:44 +00:00
Igor Yakovlev eb8c3aa54e [WASM] Remove WasmImport annotation 2022-02-03 21:25:59 +01:00
Igor Yakovlev d30a4fa4d5 [WASM/Native] Split AllCodePointsTest into two separate tests 2022-02-03 21:25:59 +01:00
Igor Yakovlev 8eec1743fb [WASM] Remove TODO with UOE for std readln actuals 2022-02-03 21:25:59 +01:00
Igor Yakovlev 0fe7ad8157 [WASM] Enable std tests 2022-02-03 21:25:58 +01:00
Igor Yakovlev 32fbf69738 [WASM] Std code clean up 2022-02-03 21:25:58 +01:00
Igor Yakovlev 195513d4f2 [WASM] Workaround about call toTypedArray on AbstractCollection 2022-02-03 21:25:58 +01:00
Igor Yakovlev c3a6d0b499 [WASM] Fix invalid constructors call flow for exceptions 2022-02-03 21:25:58 +01:00
Igor Yakovlev e30b449454 [WASM] Replace non-performance way of building String from CharArray 2022-02-03 21:25:58 +01:00
Igor Yakovlev a44b103da9 [WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN 2022-02-03 21:25:58 +01:00
Igor Yakovlev ea76501f9e [WASM] Implement ConstrainedOnceSequence 2022-02-03 21:25:58 +01:00
Igor Yakovlev d0370bd145 [WASM] Fix invalid Array.fill methods implementations 2022-02-03 21:25:58 +01:00
Igor Yakovlev 5ed104063d [WASM] Implement missing test asserter 2022-02-03 21:25:58 +01:00
Igor Yakovlev ece0f83ab2 [WASM] Implement std kotlin.time 2022-02-03 21:25:57 +01:00
Igor Yakovlev 1052ebb44d [WASM] Fix invalid rounding for Double to Int/Long conversion 2022-02-03 21:25:57 +01:00
Igor Yakovlev b4435fe091 [WASM] Escape wasm trap on division of s32/s64 min values on -1 2022-02-03 21:25:57 +01:00
Igor Yakovlev 0acb1c0c05 [WASM] Implemented Wasm unhandled exceptions on JS site 2022-02-03 21:25:57 +01:00
Igor Yakovlev e32f9eb2ce [WASM] throwableExtensions implementation 2022-02-03 21:25:57 +01:00
nataliya.valtman 0382610120 Report build reports for http in separate executor 2022-02-02 19:51:18 +03:00
Yahor Berdnikau 95698b0138 Allow specifying additional JVM arguments for Kapt task
These arguments are only used when 'kapt.workers.isolation=process' mode
is used. It allows users to apply workaround for running kapt on newer
JDK version without waiting for a new Kotlin release

^KT-48450 Fixed
2022-02-01 15:00:12 +00:00
Hung Nguyen 37c6b1c2dc KT-45777: Track build time in nanoseconds instead of milliseconds
to ensure precision (otherwise, rounding errors to milliseconds may
add up and cause unexplainable gaps in the running time).

We can still use milliseconds in the final report after all the precise
sub-build-times have been aggregated.
2022-01-31 19:50:03 +03:00
Yahor Berdnikau 52a21a4e1a Remove 'noStdlib' from Gradle options
^KT-49011 Fixed
2022-01-31 17:28:13 +01:00
Yahor Berdnikau 57c342fec8 Remove 'noReflect' from Gradle options
^KT-49011 In Progress
2022-01-31 17:28:13 +01:00
Yahor Berdnikau 27e449cd56 Remove 'useIR' from Gradle options
^KT-49011 In Progress
2022-01-31 17:28:13 +01:00
Svyatoslav Scherbina 118bda675f [Gradle] Fix Native offline tests on Windows
Don't remove the temporary KONAN_DATA_DIR because it might be still in
use by the Gradle daemon process.
Create a new temporary directory instead.

The tests were introduced in 544447e...fa951f8
2022-01-31 14:42:12 +00:00
Ilya Goncharov 02d731255c [Gradle, JS] Add to test success of compilation task 2022-01-31 12:00:14 +00:00
Ilya Goncharov a83cb9740e [Gradle, JS] Correct order of libraries 2022-01-31 12:00:13 +00:00
Ilya Goncharov 6872b6ef8a [Gradle, JS] Remove redundant argument 2022-01-31 12:00:13 +00:00
Alexander Korepanov 769fbcf3d0 [JS IR] Improve performance for runtime typecheck
This is a part of KT-42743
2022-01-31 09:15:58 +00:00
Svyatoslav Scherbina fa951f8f9c [Gradle] Propagate offline mode to Native platform libs generator
^KT-49247
2022-01-31 09:14:20 +00:00
Svyatoslav Scherbina a28884b1c3 [Gradle] Propagate offline mode to Native cinterop
^KT-49247
2022-01-31 09:14:19 +00:00
Svyatoslav Scherbina 15a52f33ad [Gradle] Propagate offline mode to Native compiler
^KT-49247
2022-01-31 09:14:19 +00:00
Svyatoslav Scherbina b4fb0e9894 [Gradle] Remove unused internal class KotlinNativeKlibRunner 2022-01-31 09:14:18 +00:00
Yahor Berdnikau 6c6534ee20 Decrease Kotlin daemon available memory in test
This should reduce flakiness in it.
2022-01-28 20:36:11 +03:00
Yahor Berdnikau 733f38e730 Migrate KaptIncrementalWithAggregatingApt tests to new test DSL
^KT-45745 In Progress
2022-01-28 20:34:31 +03:00