Preparations to push to master branch.

Introduce tests-ir-jvm module (for IR-based JVM BE tests).
This commit is contained in:
Dmitry Petrov
2016-10-17 14:23:24 +03:00
parent 555f3e903e
commit b5d81d8e31
11 changed files with 131 additions and 116 deletions
@@ -221,10 +221,6 @@ fun main(args: Array<String>) {
model("codegen/box", targetBackend = TargetBackend.JVM)
}
testClass<AbstractIrBlackBoxCodegenTest>() {
model("codegen/box", targetBackend = TargetBackend.JVM)
}
testClass<AbstractIrBlackBoxCodegenTest>("IrOnlyBoxCodegenTestGenerated") {
model("ir/box", targetBackend = TargetBackend.JVM)
}
@@ -257,20 +253,6 @@ fun main(args: Array<String>) {
model("ir/irCfg")
}
// Uncomment the following lines to generate IR generator tests based on existing compiler tests.
//
// testClass<AbstractPsi2IrBoxTestCase>() {
// model("codegen/box")
// }
//
// testClass<AbstractPsi2IrDiagnosticsTest>() {
// model("diagnostics/tests/controlFlowAnalysis")
// }
testClass<AbstractClosureAnnotatorTestCase> {
model("ir/closureAnnotator")
}
testClass<AbstractBytecodeListingTest>() {
model("codegen/bytecodeListing")
}
@@ -397,6 +379,12 @@ fun main(args: Array<String>) {
}
}
testGroup("compiler/tests-ir-jvm/tests", "compiler/testData") {
testClass<AbstractIrBlackBoxCodegenTest>() {
model("codegen/box", targetBackend = TargetBackend.JVM)
}
}
testGroup("compiler/tests-java8/tests", "compiler/testData") {
testClass<AbstractBlackBoxCodegenTest>("BlackBoxWithJava8CodegenTestGenerated") {
model("codegen/java8/box")