Separated test data depending on target platform (JS/JVM)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-printArgs
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/simple2js.kt,$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
warnings
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.js.K2JSCompiler with arguments -suppress warnings -printArgs -sourceFiles compiler/testData/cli/simple2js.kt,compiler/testData/cli/warnings.kt
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.js.K2JSCompiler with arguments -suppress warnings -printArgs -sourceFiles compiler/testData/cli/js/simple2js.kt,compiler/testData/cli/js/../warnings.kt
|
||||
ERROR: Specify output file via -output
|
||||
COMPILATION_ERROR
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/warnings.kt
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
WaRnInGs
|
||||
-output
|
||||
@@ -0,0 +1,3 @@
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.jvm.K2JVMCompiler with arguments -printArgs -script compiler/testData/cli/jvm/hello.ktscript
|
||||
hello
|
||||
OK
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
-src
|
||||
$TESTDATA_DIR$/warnings.kt
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
warnings
|
||||
-output
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
-src
|
||||
$TESTDATA_DIR$/warnings.kt
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-suppress
|
||||
WaRnInGs
|
||||
-output
|
||||
@@ -1,3 +0,0 @@
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.jvm.K2JVMCompiler with arguments -printArgs -script compiler/testData/cli/hello.ktscript
|
||||
hello
|
||||
OK
|
||||
@@ -1,5 +0,0 @@
|
||||
-printArgs
|
||||
-sourceFiles
|
||||
$TESTDATA_DIR$/simple2js.kt,$TESTDATA_DIR$/warnings.kt
|
||||
-suppress
|
||||
warnings
|
||||
Reference in New Issue
Block a user