Some changes in test generating infrastructure:
* add separate run function for each test class to simplify and deduplicate generated code * move the code that process IGNORE_BACKEND directive to the separate function, outside of generated code. ** it reduces size and complexity of a generated code ** it allows to mute and unmute tests w/o regenerate tests * add an ability to generate IGNORE_BACKEND directive automatically, it's disabled by default * add an ability to remove IGNORE_BACKEND directive automatically, it's enabled by default * remove whitelists
This commit is contained in:
@@ -17,7 +17,7 @@ fun main(args: Array<String>) {
|
||||
// TODO: repair these tests
|
||||
//generateTestDataForReservedWords()
|
||||
|
||||
testGroup("js/js.tests/test", "js/js.translator/testData") {
|
||||
testGroup("js/js.tests/test", "js/js.translator/testData", testRunnerMethodName = "runTest0") {
|
||||
testClass<AbstractBoxJsTest> {
|
||||
model("box/", pattern = "^([^_](.+))\\.kt$", targetBackend = TargetBackend.JS)
|
||||
}
|
||||
@@ -43,7 +43,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
}
|
||||
|
||||
testGroup("js/js.tests/test", "compiler/testData") {
|
||||
testGroup("js/js.tests/test", "compiler/testData", testRunnerMethodName = "runTest0") {
|
||||
testClass<AbstractJsCodegenBoxTest> {
|
||||
model("codegen/box", targetBackend = TargetBackend.JS)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user