Pill: Add "Generate All Tests" run configuration

This commit is contained in:
Yan Zhulanow
2018-02-15 23:40:11 +03:00
parent 55164660a8
commit e7a2743dcf
7 changed files with 261 additions and 18 deletions
@@ -0,0 +1,15 @@
apply { plugin("kotlin") }
apply { plugin("jps-compatible") }
dependencies {
jpsTest(project(":generators", configuration = "jpsTest"))
jpsTest(project(":compiler", configuration = "jpsTest"))
jpsTest(project(":js:js.tests", configuration = "jpsTest"))
jpsTest(project(":compiler:tests-java8", configuration = "jpsTest"))
}
sourceSets {
"main" { }
"test" { projectDefault() }
}
@@ -0,0 +1,20 @@
/*
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.pill.generateAllTests;
import org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsKt;
import org.jetbrains.kotlin.generators.tests.GenerateJava8TestsKt;
import org.jetbrains.kotlin.generators.tests.GenerateJsTestsKt;
import org.jetbrains.kotlin.generators.tests.GenerateTestsKt;
public class Main {
public static void main(String[] args) {
GenerateCompilerTestsKt.main(args);
GenerateTestsKt.main(args);
GenerateJsTestsKt.main(args);
GenerateJava8TestsKt.main(args);
}
}