Ilya Matveev
0a01f513be
tests: Show finished tests cout
2017-04-13 18:27:08 +07:00
Ilya Matveev
a69def4254
tests: Generate test tasks for stdlib tests
...
This patch updates the test execution harness to work with the
new stdlib tests. It allows one to execute stdlib tests as
a part of external testing (./gradlew run_external) or separately
(./gradlew run_external -Pprefix=external_stdlib).
2017-04-07 17:21:11 +07:00
Vasily Levchenko
8aaf784f0e
BUILD: even more improvements of slack integration:
...
- refactoring (extract variables to avoid access duplication).
- typo konan-reporter-token, epilogue and buildProperties.
- unused variables declaration removed.
- acting only if teamcity config passed throw environment.
2017-04-05 14:27:16 +03:00
Vasily Levchenko
77fb3c6985
BUILD: use slack parameters from teamcity parameters
2017-04-04 23:10:37 +03:00
Alexander Gorshenev
9fd555471a
A couple of konanc driver tests.
2017-03-31 11:07:01 +03:00
alexander-gorshenev
c9c9aee7bb
No colon cinterop flags ( #428 )
...
* Taught cinterop a 'host' target.
* Last minute switch from -foo:bar flags to -foo bar flags in cinterop tool.
2017-03-31 10:20:29 +03:00
Nikolay Igotti
0cbd34086e
Added JB copyright ( #417 )
2017-03-30 09:51:58 +03:00
Ilya Matveev
a906bd0d07
Download dependencies only in dist
...
Don't extract dependencies in dependencies/all, only in dist/dependencies
Remove konan.dependencies property
2017-03-30 11:02:35 +07:00
Alexander Gorshenev
334d2f0ee6
Remote test execution for cross compiled tests. Run it like:
...
$ ./gradlew backend.native:tests:run \
-Premote=user@111.22.33.444 -Ptest_target=raspberrypi
The new gradle command line options:
-Pbuild_flags renamed -Pkonanc_flags.
-Ptest_flags provides compiler flags to the test builds.
-Ptest_target properly sets up compiler as well as interop
to cross compile tests.
-Premote specifies remote host and login.
2017-03-27 15:14:57 +03:00
Igor Chevdar
00e452bcdf
Added tests on link stage (disabled for now).
2017-03-27 12:41:58 +03:00
Ilya Matveev
fbc14becfc
tools: Add dependecy download helpers
...
This patch adds 2 helpers to download dependencies for compiler and
stub generator during their execution.
They take list of external dependencies as a parameter and directory
where they must be located. Helpers check if these dependencies exist
in the given directory and download not existing ones.
2017-03-24 19:31:23 +07:00
Ilya Matveev
4a716fbf30
backend: Use konan.dependencies property to set dependencies dir
...
This patch set default dependencies directory to ${konan.home}/
dependencies and allows one to override this setting using
konan.dependencies system property.
2017-03-24 19:31:23 +07:00
Alexander Gorshenev
ff8acd21e6
This is initial implementation of serializer/deserializer for inline IR bodies.
...
The deserialization is disabled by default.
Use `-enable deserializer` to enable it.
Use `-verbose deserializer` to watch it crunch.
2017-03-24 01:03:59 +04:00
Svyatoslav Scherbina
bb1c52c23b
Fix launcher for external box tests with one-letter package
2017-03-17 20:08:36 +07:00
Alexander Gorshenev
a7677e2a8b
Renamed interop 'target' to 'flavour'.
2017-03-16 01:55:36 +04:00
Nikolay Igotti
7279873bb4
Fix build of interop tests.
2017-03-15 19:19:16 +03:00
Ilya Matveev
8e91da7aad
build/tests: Import box() function package in the launcher
2017-03-13 19:03:57 +03:00
Ilya Matveev
89b2cc05bd
build/tests: Create separate output dir for each external test
2017-03-13 19:03:57 +03:00
Ilya Matveev
97b5bb527d
backend: Generate assert call depending on the compiler key
2017-03-13 16:25:48 +03:00
Ilya Matveev
ac56fccb15
tests: Download test data as a teamcity artifact
2017-03-13 15:31:46 +03:00
Ilya Matveev
232d2ff14c
tests: Compile only *.kt files
2017-03-13 15:31:46 +03:00
Svyatoslav Scherbina
304a9ebd8e
build/tests: support declaring tests to be manually executed
2017-03-13 11:00:33 +07:00
Svyatoslav Scherbina
725e367614
build/tests: implement passing interop linker args to compiler
2017-03-13 11:00:33 +07:00
Alexander Gorshenev
a995fbcb59
This is a simple command line tool for interop.
...
See INTEROP.md on how to use it.
2017-03-10 17:36:58 +04:00
Svyatoslav Scherbina
9e58f884d3
build/tests: check exit status instead of output of external tests
2017-03-10 14:34:10 +07:00
Svyatoslav Scherbina
051f42667c
build/tests: support KonanTest.expectedExitStatus
2017-03-10 14:34:10 +07:00
Ilya Matveev
e815aa3f73
tests: Support box(): String? in the test launcher
2017-03-09 18:01:19 +03:00
Vasily Levchenko
104a983282
gradle: do not lose debugging options from java exec
2017-03-06 14:47:03 +03:00
vvlevchenko
a1f2b572a8
gradle: KonanTest extends from JavaExec making tests debugging rather easy task ( #299 )
2017-03-04 00:32:27 +03:00
Ilya Matveev
126d6f3d41
tests: Ignore diagnostics directives
2017-03-03 14:35:13 +03:00
Igor Chevdar
889b28ee87
Added link test, checking correct object field layout.
2017-03-01 14:40:10 +03:00
Ilya Matveev
ab0f8cb6cd
buildSrc: Count skipped tests
2017-02-22 14:02:38 +03:00
Ilya Matveev
3f0903fdc8
buildSrc: Report actual and expected test output.
2017-02-22 14:02:38 +03:00
Ilya Matveev
9e2fe888e4
buildSrc: split tests into testSuites for teamcity
2017-02-21 18:56:52 +03:00
Vasily Levchenko
f372ddea4d
reporting: TC integration escaping issues fix.
...
- error: testFailed ignored if message or details isn't correctly escaped
- fail: testFailed's message should be escaped also.
2017-02-21 16:38:49 +03:00
Svyatoslav Scherbina
9052e08e59
build: fix compilation on Linux when using libclang
2017-02-21 16:42:14 +07:00
Ilya Matveev
7f2cab6666
buildSrc: Fix package regexp pattern
2017-02-17 15:17:46 +03:00
Ilya Matveev
e3c2f78b63
buildSrc: print command to reproduce for failed/crashed tests.
2017-02-16 16:34:35 +03:00
Vasily Levchenko
acf54d9895
reporting: fixed escaping pipe for teamcity
2017-02-16 15:42:19 +03:00
Vasily Levchenko
201ee72b15
reporting: teamcity integration some symbols required to be escaped in messages sent tp teamcity
...
see buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy for details.
2017-02-13 13:39:38 +03:00
Vasily Levchenko
a93c382301
reporting: fix path to final test report.
2017-02-12 08:56:50 +03:00
Vasily Levchenko
1eebae5c4e
reporting: use final result instead traversing over all reports.json (including total report called reports.json too)
2017-02-10 11:29:16 +03:00
Vasily Levchenko
ea75220792
reporting: added test report to slack message
2017-02-09 17:48:48 +03:00
Vasily Levchenko
65e4f69721
KonanTest: Teamcity integration.
2017-02-09 17:48:48 +03:00
Vasily Levchenko
3f0cea36c1
reporting: Use agent runtime variables to print build tab url.
2017-02-09 17:48:48 +03:00
Vasily Levchenko
c78af84f90
TestKonan: comment reasoning generation of test box launcher
2017-02-09 17:48:48 +03:00
Vasily Levchenko
3474f167c1
gradle: task parsing json reports and publish results.
2017-02-08 11:40:24 +03:00
Vasily Levchenko
16df5c4299
KonanTest: infrostructure enhancements.
...
- test status in enum.
- fails are bit different from errors.
it takes reports generated in output directory and sum statistics and publish
result on slack.
2017-02-08 11:40:24 +03:00
Svyatoslav Scherbina
5e54c29afb
buildSrc: implement RunInteropKonanTest
2017-02-06 11:58:10 +07:00
Svyatoslav Scherbina
cf3b95fb3d
Interop/StubGenerator, NativeInteropPlugin: add support for Kotlin Native
...
Also add minor improvements.
2017-02-06 11:58:10 +07:00