alexander-gorshenev
5700fa8cea
Allow a couple of test pass on linux_mips32 target.
2017-10-23 19:34:34 +03:00
Alexander Gorshenev
dc8840e14c
No testLibrary for cross compilation targets.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
886ef5fe5a
Moved a newly created test to Standalone category.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
3c5602017f
Several typos in comments and messages.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
19fe0168ad
Tuned test golden value.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
e2e883ee08
Introduced testLibrary and a test utilizing it.
2017-10-23 16:03:20 +03:00
Pavel Punegov
85a782cd7e
Disable test for wasm32 due to KT-20862
2017-10-20 18:25:05 +03:00
Pavel Punegov
9633a09c07
Exclude tests that could not be used with TestRunner automatically
2017-10-20 18:25:05 +03:00
Pavel Punegov
535e18fc20
Simplify dependence on buildKonanTests. Remove arguments from test
2017-10-20 18:25:05 +03:00
Pavel Punegov
d56a4f8830
Fixes to tests: forgotten package names and tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
a6af8aa11c
Uncomment incorrectly commented out tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
35505007d2
TestRunner support in test's build.gradle
...
* Fixes to tests
* RunKonanTest runs tests build with TestRunner
* Standalone tests
2017-10-20 18:25:05 +03:00
Pavel Punegov
9d077d7f4f
BC native tests port to Konan's TestRunner
2017-10-20 18:25:05 +03:00
Vasily Levchenko
d470df57c0
[tests][teaspot opengl] fix build
2017-10-19 10:06:08 +03:00
Svyatoslav Scherbina
ffb0d0cfcb
Add quickfix for unsupported typedef NSFoo Bar.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
e8f97b0436
Represent Objective-C block pointers in methods as Kotlin functions
...
Also do some refactoring.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina
a0dc2ecef2
Enable method signature checks when overriding Objective-C method
2017-10-17 13:23:21 +03:00
Mike Sinkovsky
f4c90e1a86
fix gradle 4.2 warning on windows ( #937 )
2017-10-13 12:54:22 +03:00
Alexander Gorshenev
17ae2343d4
There is not platform.posix for wasm32.
2017-10-12 10:56:21 +03:00
Alexander Gorshenev
2445357166
A test to check we don't throw away a library dependency only because it
...
it a default lib not needed in the main program.
2017-10-11 17:05:12 +03:00
Svyatoslav Scherbina
c7588d7928
Use packages specified in .def files for platform libs
2017-10-09 17:24:47 +03:00
SvyatoslavScherbina
7795a7856a
Support global variables in interop ( #903 )
2017-10-06 10:56:31 +03:00
Vasily Levchenko
3777d86be2
[tests][interop] fix sockets.def placement closer to test (fix build)
2017-10-06 06:29:08 +03:00
Igor Chevdar
fa21a260b1
Fixed coroutines for wasm
...
Replaced llvm indirectBr instruction with switch instruction.
2017-10-05 14:10:06 +03:00
Ilya Matveev
8fcc4c4f30
unit-tests: Add tests for test runner
2017-10-05 11:37:34 +03:00
Igor Chevdar
df3e114f31
Added phase RETURNS_INSERTION
...
Moved explicit insertion of return statement from code generator to a lowering
2017-10-04 13:31:30 +03:00
Alexander Gorshenev
606f98f9d3
Added minimal posix.def for windows.
2017-09-28 12:32:09 +03:00
Sergey Bogolepov
0fb788d580
Renamed targets. Added linux_ prefix
...
mips32 -> linux_mips32
mipsel32 -> linux_mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
b7978c3a1f
Renamed targets.
...
mips -> mips32
mipsel -> mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
46eed4efbb
Enabled disabled targets
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
ca567ac35c
Added support for mipsel
2017-09-26 16:18:33 +03:00
Sergey Bogolepov
9187022721
Initial support for MIPS
2017-09-26 16:18:33 +03:00
SvyatoslavScherbina
786374ef86
Add basic support for class references
...
Also use class name for `Any.toString` and `Throwable.toString`.
2017-09-26 10:59:45 +03:00
Svyatoslav Scherbina
a6ca64871f
Implement explicit and implicit object pinning for interop
...
This allows passing Kotlin primitive arrays directly to native
2017-09-26 09:50:42 +03:00
Vasily Levchenko
197f77f8e3
[tests] string builder appendln tests
2017-09-25 17:51:33 +03:00
Ilya Matveev
412d0485e4
box-tests: Remove duplicating assertions from testUtils.kt
...
The testUtils.kt contains some assertions which are now implemented
in stdlib. This patch removes them from testUtils.kt
2017-09-25 13:45:11 +03:00
Alexander Gorshenev
f1c3e866b4
A couple of tests for default libraries.
2017-09-25 12:49:22 +03:00
Ilya Matveev
6db5bbb4f0
unit-tests: Disable tests for unit tests support on wasm32
2017-09-25 11:31:22 +03:00
Ilya Matveev
4c3016d21b
unit-tests: Minor fixes before review
2017-09-25 11:31:22 +03:00
Ilya Matveev
2d757c4150
unit-tests: Add assertion and annotation tests
2017-09-25 11:31:22 +03:00
Ilya Matveev
345e3570cc
unit-tests: Support tests in objects
2017-09-25 11:31:22 +03:00
Ilya Matveev
f1c59707dd
unit-tests: Top level test support
2017-09-25 11:31:22 +03:00
Ilya Matveev
45992a2b75
unit-tests: Simple support for test classes
2017-09-25 11:31:22 +03:00
Vasily Levchenko
f26e5b5f02
unit-tests: Create a simple test runner implementation
2017-09-25 11:31:22 +03:00
Svyatoslav Scherbina
79455c5161
Support interop modularity
...
* Add list of included headers into the manifest
* Implement importing "foreign" type declarations
* Implement forward declarations more natively in the compiler
* Represent Objective-C categories as Kotlin extension methods and
properties
Also:
* Do some refactoring in stub generation
* Call bridges directly in stubs for Objective-C properties
2017-09-14 16:47:26 +03:00
Ilya Matveev
c32b84efd1
stdlib: Move exit function to porting layer
2017-09-07 18:48:10 +03:00
Ilya Matveev
ea667ebc5c
stdlib: Add exitProcess function
2017-09-07 18:48:10 +03:00
Svyatoslav Scherbina
4e285a5ef4
Implement equals, hashCode and toString for Objective-C objects
2017-09-06 23:57:19 +03:00
Igor Chevdar
136c62a62c
Added test on workers with invalid transfer attempt
2017-08-29 16:39:49 +03:00
Nikolay Igotti
109f84f9af
Immutable data prototype. ( #799 )
2017-08-22 16:21:10 +03:00