Remove module integration-tests, merge into compiler-tests

This commit is contained in:
Alexander Udalov
2015-01-03 12:28:54 +03:00
parent cd79c4573d
commit 5c9750ae6b
147 changed files with 28 additions and 46 deletions
@@ -0,0 +1,10 @@
OUT:
Buildfile: [TestData]/build.xml
build:
[kotlin2js] Compiling [[TestData]/hello.kt] => [[Temp]/out.js]
BUILD SUCCESSFUL
Total time: [time]
Return code: 0
@@ -0,0 +1,9 @@
<project name="Ant Task Test" default="build">
<taskdef resource="org/jetbrains/jet/buildtools/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
<target name="build">
<kotlin2js src="${test.data}/hello.kt" noStdlib="true" output="${temp}/out.js">
<compilerarg value="-Xno-inline"/>
</kotlin2js>
</target>
</project>
@@ -0,0 +1,13 @@
package foo
inline fun foo(f: () -> Unit) = f()
var ok = "Fail"
fun main(args : Array<String>) {
foo {
ok = "OK"
}
}
fun box(): String = ok