[JS TESTS] Move generation of js tests to GenerateJsTests

This commit is contained in:
Ivan Kylchik
2021-10-18 14:56:27 +03:00
parent 225b064470
commit 13d3b7c0b8
2 changed files with 43 additions and 47 deletions
@@ -163,46 +163,6 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
}
}
// ---------------------------------------------- JS tests ----------------------------------------------
testGroup(testsRoot = "js/js.tests/tests-gen", testDataRoot = "js/js.translator/testData") {
testClass<AbstractBoxJsTest> {
model("box/", pattern = "^([^_](.+))\\.kt$", excludeDirs = listOf("incremental"))
}
testClass<AbstractSourceMapGenerationSmokeTest> {
model("sourcemap/")
}
testClass<AbstractOutputPrefixPostfixTest> {
model("outputPrefixPostfix/")
}
testClass<AbstractMultiModuleOrderTest> {
model("multiModuleOrder/")
}
}
testGroup(testsRoot = "js/js.tests/tests-gen", testDataRoot = "compiler/testData") {
val jvmOnlyBoxTests = listOf(
"testsWithJava9",
"testsWithJava15",
"testsWithJava17",
)
testClass<AbstractJsCodegenBoxTest> {
model("codegen/box", excludeDirs = jvmOnlyBoxTests + "compileKotlinAgainstKotlin")
}
testClass<AbstractJsCodegenInlineTest> {
model("codegen/boxInline")
}
testClass<AbstractJsLegacyPrimitiveArraysBoxTest> {
model("codegen/box/arrays")
}
}
// ---------------------------------------------- FIR tests ----------------------------------------------
testGroup(testsRoot = "compiler/fir/analysis-tests/tests-gen", testDataRoot = "compiler/testData") {