Do not render stack traces and bytecode on muted failed tests locally

This was already disabled on buildserver with a35f368ce0, but makes
sense locally too because otherwise IntelliJ renders a lot of output
which takes lots of memory and slows down the test runner
This commit is contained in:
Alexander Udalov
2019-04-25 15:08:29 +02:00
parent 34cf5a19df
commit 21d0beb94b
2 changed files with 1 additions and 6 deletions
@@ -27,13 +27,9 @@ import static org.jetbrains.kotlin.test.clientserver.TestProcessServerKt.getBoxM
import static org.jetbrains.kotlin.test.clientserver.TestProcessServerKt.getGeneratedClass;
public abstract class AbstractBlackBoxCodegenTest extends CodegenTestCase {
private static final boolean IGNORE_EXPECTED_FAILURES =
Boolean.getBoolean("kotlin.suppress.expected.test.failures");
@Override
protected void doMultiFileTest(@NotNull File wholeFile, @NotNull List<TestFile> files) throws Exception {
boolean isIgnored = IGNORE_EXPECTED_FAILURES && InTextDirectivesUtils.isIgnoredTarget(getBackend(), wholeFile);
boolean isIgnored = InTextDirectivesUtils.isIgnoredTarget(getBackend(), wholeFile);
compile(files, !isIgnored);