Alexander Udalov
5a792ca11f
CLI: output relative paths in diagnostic messages
2014-08-13 11:10:41 +04:00
Alexander Udalov
cf431ffab0
CLI: change argument naming convention
...
As in all other Unix/POSIX tools and JVM language compilers, multiple words
comprising the argument name should be lowercase, separated by dashes
2014-08-13 11:10:40 +04:00
Alexander Udalov
6533c49f6d
Minor, refactor integration tests
2014-08-13 11:10:39 +04:00
Alexander Udalov
3ca6c8615b
Reorganize integration test data
2014-08-13 11:10:39 +04:00
Alexander Udalov
8e17557f5c
Ant task: split tests into JVM and JS
2014-08-13 11:10:38 +04:00
Alexander Udalov
9442724821
Ant task: support additional arguments, drop inline/optimize
...
Only "-X" options are now supported as additional command line arguments
2014-08-13 11:10:38 +04:00
Alexander Udalov
19b80f57cf
Support "-d" option in kotlinc-jvm
...
The intent is to unify "-output" and "-jar" options into the one "-d"
(destination)
2014-07-23 21:24:40 +04:00
Alexander Udalov
de0fd3818c
Drop "-src" in kotlinc-jvm
...
Free arguments should be used instead
2014-07-23 21:24:39 +04:00
Alexander Udalov
87439b8e0b
Drop "-sourceFiles" in kotlinc-js
...
Use free arguments instead, as is done in kotlinc-jvm and all sensible
compilers everywhere
Also fix some cases of AntTaskTest to be able to run them locally
2014-07-23 21:24:38 +04:00
Alexander Udalov
cb80f95cab
Don't output "exec() finished with..." error message
...
It's useless because the result of the compiler is always evident (it outputs
either diagnostics or an exception stack trace)
2014-07-23 16:01:11 +04:00
Alexander Udalov
5003a2f570
Send compiler output to stderr instead of stdout
...
Test only stderr in kotlinc test now and move the '-script' test to integration
tests where both stdout and stderr is tested
2014-07-23 16:01:11 +04:00
Denis Zharkov
0e683b0b99
Added "optimize" flag to settings everywhere
2014-07-15 21:34:32 +04:00
Alexander Udalov
59777e7df6
Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class
...
Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
2014-07-02 01:26:18 +04:00
Alexander Udalov
d42598a935
Move default inline flag to JVM back-end
...
- other back-ends are likely to have its own value of this flag
- get rid of DEFAULT_INLINE_FLAG_FOR_TEST
- the main goal was to simplify the default GenerationState constructor, which
now always uses default inline flag value
2014-05-08 16:45:14 +04:00
Ilya Ryzhenkov
480dd6767c
Convert module scripting to .ktm extension.
2014-03-24 18:17:51 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Natalia Ukhorskaya
d9d045cbb2
Fix line separators for windows in tests
2014-03-07 18:05:12 +04:00
Ladislav Thon
36bc7580aa
fix main function detection to rely on actually resolved types
2014-03-04 19:18:14 +04:00
Alexander Udalov
d04ee09636
Rename "import jet" to "import kotlin" in Java sources
2014-03-02 21:33:22 +04:00
Evgeny Gerashchenko
79cab1f1b6
Updated test data.
2014-01-16 23:40:18 +04:00
Natalia Ukhorskaya
f2f1a1313d
Add jdk jars to kotlin classpath
...
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Zalim Bashorov
cf5174d798
Fixed the collection output of processes in integration tests.
2013-12-16 13:40:30 +04:00
Andrey Breslav
3629a539e4
Smoke test data fixed
2013-12-05 13:28:40 +04:00
Zalim Bashorov
59e47a5f77
Normalize paths in output in integration-tests.
2013-11-17 03:21:55 +04:00
Zalim Bashorov
bfa79efaf3
BuildTools: added tests for ant task Kotlin2JsCompilerTask.
2013-11-15 15:17:59 +04:00
Erokhin Stanislav
2c93ace78d
Add externalAnnotations ant test and ant-1.8
2013-10-28 16:07:01 +04:00
Erokhin Stanislav
35bc3cd587
Move ant from dependencies/ant -> dependencies/ant-1.7
2013-10-28 16:07:01 +04:00
Andrey Breslav
3bb14c2d4e
Throwing FileComparisonFailure enables opening test data file in diff dialog right from the test console
2013-10-25 19:55:42 +04:00
Andrey Breslav
8424e7f5c7
Fix smoke test
2013-10-10 18:59:37 +04:00
Andrey Breslav
5aa8aa4550
Package names unified in test data
2013-10-08 19:21:02 +04:00
Andrey Breslav
a985882baf
CompilerAdapter for <javac> task + test for compiler attribute
...
No test for the typedef <withKotlin/> because Ant 1.7 doesn't seem to support typedef inside <javac>
2013-10-08 19:21:02 +04:00
Andrey Breslav
bf49bc0220
<kotlinc> ant task now supports <src> element and multiple source directories
2013-10-08 19:21:02 +04:00
Evgeny Gerashchenko
ec5331057a
Removed unnecessary final on local variables.
2013-03-13 14:12:50 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Natalia.Ukhorskaya
47abdcf565
Rename namespace class to {package.name}Package
...
Conflicts:
compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Evgeny Gerashchenko
6aef746d30
Renamed data -> testData in integration-tests.
2012-11-28 15:20:56 +04:00
Natalia.Ukhorskaya
e4bb109060
Path separator fixed
2012-11-21 20:12:36 +04:00
Andrey Breslav
4ed07cd9ae
Introducing KotlinPaths to impose some discipline on compiler/library location
2012-11-21 18:16:09 +04:00
Andrey Breslav
7e7e779e80
No printing of verbose compiler output in Ant task and REPL
2012-11-13 19:38:20 +04:00
Andrey Breslav
388cfc5e1a
Fixing test data to account for new logging
2012-11-13 15:18:12 +04:00
Evgeny Gerashchenko
d28c9e0eef
Added 'synchronized' to avoid race condition in smoke test.
2012-10-30 20:12:31 +04:00
Alexander Udalov
ce5b556679
fix failing because of line endings test
2012-06-22 18:30:50 +04:00
Stepan Koltsov
d0cd37528a
move some cli tests from CompilerSmokeTest to CliTest
2012-06-14 16:05:16 +04:00
Stepan Koltsov
4e99edccaa
TmpdirRule
...
junit4 @Rule to create tmp dir from idea SDK
2012-06-14 15:29:16 +04:00
Stepan Koltsov
2ac6a7c928
fix message order in namespace codegen
2012-06-08 17:57:03 +04:00
Andrey Breslav
1fe272d592
Change test data, YET AGAIN
2012-06-08 12:40:53 +04:00
Svetlana Isakova
ec5aed82af
KT-2207 Syntax errors are not reported from the compiler
...
#KT-2207 fixed
2012-06-07 18:28:37 +04:00
Andrey Breslav
07d519a2d0
Missing space added
2012-06-07 17:52:52 +04:00
Andrey Breslav
c4b00d0498
Fixed test data
2012-06-07 17:49:41 +04:00
Stepan Koltsov
30e44fdc5f
script parameters
...
still a lot of things to do
2012-05-28 20:31:29 +04:00