[Build] Add generating and running new compiler tests to gradle
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
<option value=":compiler:tests-against-klib:generateTests" />
|
<option value=":compiler:tests-against-klib:generateTests" />
|
||||||
<option value=":js:js.tests:generateTests" />
|
<option value=":js:js.tests:generateTests" />
|
||||||
<option value=":core:descriptors.runtime:generateTests" />
|
<option value=":core:descriptors.runtime:generateTests" />
|
||||||
|
<option value=":compiler:tests-common-new:generateTests" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
<option name="vmOptions" value="" />
|
<option name="vmOptions" value="" />
|
||||||
|
|||||||
@@ -630,6 +630,7 @@ tasks {
|
|||||||
dependsOn("dist")
|
dependsOn("dist")
|
||||||
dependsOn(
|
dependsOn(
|
||||||
":compiler:test",
|
":compiler:test",
|
||||||
|
":compiler:tests-common-new:test",
|
||||||
":compiler:container:test",
|
":compiler:container:test",
|
||||||
":compiler:tests-java8:test",
|
":compiler:tests-java8:test",
|
||||||
":compiler:tests-spec:test",
|
":compiler:tests-spec:test",
|
||||||
@@ -870,6 +871,7 @@ tasks {
|
|||||||
":idea:idea-gradle:test",
|
":idea:idea-gradle:test",
|
||||||
":idea:test",
|
":idea:test",
|
||||||
":compiler:test",
|
":compiler:test",
|
||||||
|
":compiler:container:test",
|
||||||
":js:js.tests:test"
|
":js:js.tests:test"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -64,3 +64,5 @@ projectTest(parallel = true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
|
val generateTests by generator("org.jetbrains.kotlin.test.generators.GenerateNewCompilerTestsKt")
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ plugins {
|
|||||||
val depenencyProjects = arrayOf(
|
val depenencyProjects = arrayOf(
|
||||||
":generators",
|
":generators",
|
||||||
":compiler",
|
":compiler",
|
||||||
|
":compiler:tests-common-new",
|
||||||
":js:js.tests",
|
":js:js.tests",
|
||||||
":compiler:tests-java8",
|
":compiler:tests-java8",
|
||||||
":core:descriptors.runtime"
|
":core:descriptors.runtime"
|
||||||
|
|||||||
+2
@@ -7,12 +7,14 @@ package org.jetbrains.kotlin.pill.generateAllTests;
|
|||||||
|
|
||||||
import org.jetbrains.kotlin.generators.tests.*;
|
import org.jetbrains.kotlin.generators.tests.*;
|
||||||
import org.jetbrains.kotlin.generators.InconsistencyChecker;
|
import org.jetbrains.kotlin.generators.InconsistencyChecker;
|
||||||
|
import org.jetbrains.kotlin.test.generators.GenerateNewCompilerTestsKt;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
GenerateCompilerTestsKt.main(args);
|
GenerateCompilerTestsKt.main(args);
|
||||||
|
GenerateNewCompilerTestsKt.main(args);
|
||||||
GenerateTestsKt.main(args);
|
GenerateTestsKt.main(args);
|
||||||
GenerateJsTestsKt.main(args);
|
GenerateJsTestsKt.main(args);
|
||||||
GenerateJava8TestsKt.main(args);
|
GenerateJava8TestsKt.main(args);
|
||||||
|
|||||||
Reference in New Issue
Block a user