more tests for compiler

This commit is contained in:
Maxim Manuylov
2012-07-29 23:30:49 +04:00
committed by Evgeny Gerashchenko
parent 0813e6bc1c
commit a8cd11f0f9
6 changed files with 56 additions and 15 deletions
+1
View File
@@ -0,0 +1 @@
println("hello")
+1 -1
View File
@@ -15,4 +15,4 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
-verbose [flag] Enable verbose logging output
-version [flag] Display compiler version
-help (-h) [flag] show help
INTERNAL_ERROR
OK
+5
View File
@@ -0,0 +1,5 @@
hello
Command line arguments:
-script
compiler/testData/cli/hello.ktscript
OK
+19
View File
@@ -0,0 +1,19 @@
Invalid argument: -wrongArgument
Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
-jar [String] jar file name
-src [String] source file or directory
-classpath [String] classpath to use when compiling
-annotations [String] paths to external annotations
-includeRuntime [flag] include Kotlin runtime in to resulting jar
-noJdk [flag] don't include Java runtime into classpath
-noStdlib [flag] don't include Kotlin runtime into classpath
-noJdkAnnotations [flag] don't include JDK external annotations into classpath
-builtins [flag] compile builtin classes (internal)
-output [String] output directory
-module [String] module to compile
-script [flag] evaluate script
-tags [flag] Demarcate each compilation message (error, warning, etc) with an open and close tag
-verbose [flag] Enable verbose logging output
-version [flag] Display compiler version
-help (-h) [flag] show help
INTERNAL_ERROR