Separated test data depending on target platform (JS/JVM)

This commit is contained in:
Evgeny Gerashchenko
2013-11-20 21:00:25 +04:00
parent f06e46951f
commit d937909ebf
54 changed files with 23 additions and 22 deletions
@@ -0,0 +1,6 @@
-sourceFiles
$TESTDATA_DIR$/simple2js.kt
-output
$TEMP_DIR$/out.js
-outputPostfix
not/existing/path
@@ -0,0 +1,2 @@
ERROR: Output postfix file 'not/existing/path' not found
COMPILATION_ERROR
@@ -0,0 +1,6 @@
-sourceFiles
$TESTDATA_DIR$/simple2js.kt
-output
$TEMP_DIR$/out.js
-outputPrefix
not/existing/path
@@ -0,0 +1,2 @@
ERROR: Output prefix file 'not/existing/path' not found
COMPILATION_ERROR
@@ -0,0 +1,5 @@
-printArgs
-sourceFiles
$TESTDATA_DIR$/simple2js.kt,$TESTDATA_DIR$/../warnings.kt
-suppress
warnings
@@ -0,0 +1,3 @@
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
+4
View File
@@ -0,0 +1,4 @@
-sourceFiles
$TESTDATA_DIR$/simple2js.kt
-output
$TEMP_DIR$/out.js
+1
View File
@@ -0,0 +1 @@
fun main(args: Array<String>) {}
+1
View File
@@ -0,0 +1 @@
OK
@@ -0,0 +1,6 @@
-sourceFiles
$TESTDATA_DIR$/../warnings.kt
-suppress
WaRnInGs
-output
$TEMP_DIR$/out.js
@@ -0,0 +1 @@
OK