[test] Use custom ignore directive for AbstractKlibJsTextTestCase tests

We've muted some irText tests on JS in the previous commits because
test expectations in some tests are different when targeting JS.

AbstractKlibJsTextTestCase tests use a different logic:
they compare the dump of the deserialized IR with the frontend-generated
IR, not with the expectations in text files, thus muted tests weren't
actually failing.

Here we introduce a temporary fix, namely
a separate // IGNORE directive for klib tests.

When klib tests are moved to the new test infrastructure, there will be
no need to do this.
This commit is contained in:
Sergej Jaskiewicz
2023-03-21 19:29:44 +01:00
committed by Space Team
parent 27ccef868a
commit 88b7f30867
8 changed files with 62 additions and 49 deletions
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS_IR
// DONT_TARGET_EXACT_BACKEND: JS_IR
fun interface Foo : () -> Int