Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Udalov 5a792ca11f CLI: output relative paths in diagnostic messages 2014-08-13 11:10:41 +04:00
Alexander Udalov 3ca6c8615b Reorganize integration test data 2014-08-13 11:10:39 +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 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 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
Ladislav Thon 36bc7580aa fix main function detection to rely on actually resolved types 2014-03-04 19:18:14 +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 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
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 6aef746d30 Renamed data -> testData in integration-tests. 2012-11-28 15:20:56 +04:00