Add the ANY_FIR target for muting Fir2IrText tests

This commit is contained in:
pyos
2019-12-19 12:25:21 +01:00
committed by Dmitry Petrov
parent a4b005fd5d
commit 2adcb5dec4
8 changed files with 98 additions and 85 deletions
@@ -589,7 +589,7 @@ fun main(args: Array<String>) {
testGroup("compiler/fir/fir2ir/tests", "compiler/testData") {
testClass<AbstractFir2IrTextTest> {
model("ir/irText")
model("ir/irText", targetBackend = TargetBackend.ANY_FIR)
}
}
@@ -135,6 +135,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/classes/initVal.kt");
}
@TestMetadata("initValInLambda.kt")
public void testInitValInLambda() throws Exception {
runTest("compiler/testData/ir/irText/classes/initValInLambda.kt");
}
@TestMetadata("initVar.kt")
public void testInitVar() throws Exception {
runTest("compiler/testData/ir/irText/classes/initVar.kt");