From c4619b4871f3c6edc319f0b8d86281b356afd3b0 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Tue, 28 Dec 2021 12:07:34 +0300 Subject: [PATCH] [K/N][test] Ignore tests that fail due to the init order These test run correctly in the new MM --- .../funInterfaceConstructedObjectsEquality.kt | 3 +++ .../funInterfaceConstructor/funInterfaceConstructorEquality.kt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructedObjectsEquality.kt b/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructedObjectsEquality.kt index 7f2c8182447..0482ad21247 100644 --- a/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructedObjectsEquality.kt +++ b/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructedObjectsEquality.kt @@ -6,6 +6,9 @@ // IGNORE_BACKEND: WASM // ^ wasm-function[1893]:0x1cf8a: RuntimeError: dereferencing a null pointer +// IGNORE_BACKEND: NATIVE +// ^ Fail due to the initialization order. Doesn't fail with new MM + // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // ^ TypeError: tmp is not a function diff --git a/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt b/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt index 2135d1db2e6..ade4facc758 100644 --- a/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt +++ b/compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt @@ -6,6 +6,9 @@ // IGNORE_BACKEND: WASM // ^ Failed: ks1 != ks2 (same file, same SAM type) +// IGNORE_BACKEND: NATIVE +// ^ Fail due to the initialization order. Doesn't fail with new MM + // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // ^ Failed: ks1 != ks2 (same file, same SAM type)