Move JS tests generator to :js:js.tests, run it in "Generate Compiler Tests"

Also cleanup generateTestDataForReservedWords and make everything there
private
This commit is contained in:
Alexander Udalov
2017-11-02 12:03:41 +01:00
parent 8c6ed3e872
commit f52ba44e90
5 changed files with 124 additions and 93 deletions
+4 -1
View File
@@ -12,6 +12,8 @@ dependencies {
testCompile(project(":js:js.dce"))
testCompile(ideaSdkDeps("openapi", "idea", "idea_rt"))
testCompile(commonDep("junit:junit"))
testCompile(projectTests(":kotlin-build-common"))
testCompile(projectTests(":generators:test-generator"))
testRuntime(projectDist(":kotlin-compiler"))
testRuntime(projectDist(":kotlin-stdlib"))
testRuntime(projectDist(":kotlin-stdlib-js"))
@@ -20,7 +22,6 @@ dependencies {
testRuntime(projectDist(":kotlin-preloader")) // it's required for ant tests
testRuntime(project(":compiler:backend-common"))
testRuntime(commonDep("org.fusesource.jansi", "jansi"))
testCompile(projectTests(":kotlin-build-common"))
}
sourceSets {
@@ -49,3 +50,5 @@ projectTest("quickTest") {
workingDir = rootDir
systemProperty("kotlin.js.skipMinificationTest", "true")
}
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateJsTestsKt")