IC tests: make exceptions from compiler more visible in tests

otherwise they are easily swallowed by the reporting logic.
This commit was needed to ensure that the problem described in
KT-63665 is reproducible in IC test
But some JS IC logic relies on handling compiler exceptions as a signal
for scope expansions, and the newly introduced exception logging
broke a few tests. To mitigate it, the directive was introduced
to disable exception logging for particular test.
This commit is contained in:
Ilya Chernikov
2023-12-07 17:59:36 +01:00
committed by Space Team
parent 7398f9e4e0
commit 6dfcc927f4
9 changed files with 20 additions and 2 deletions
@@ -23,7 +23,7 @@ import java.util.stream.Collectors;
public final class InTextDirectivesUtils {
private static final String DIRECTIVES_FILE_NAME = "directives.txt";
public static final String DIRECTIVES_FILE_NAME = "directives.txt";
public static final String IGNORE_BACKEND_DIRECTIVE_PREFIX = "// IGNORE_BACKEND: ";
public static final String IGNORE_BACKEND_K1_DIRECTIVE_PREFIX = "// IGNORE_BACKEND_K1: ";