diff --git a/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/PerformanceDescriptors.java b/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/PerformanceDescriptors.java index c0a676690..c499af7b8 100644 --- a/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/PerformanceDescriptors.java +++ b/runtime-testsuite/test/org/antlr/v4/test/runtime/descriptors/PerformanceDescriptors.java @@ -3,6 +3,8 @@ package org.antlr.v4.test.runtime.descriptors; import org.antlr.v4.test.runtime.BaseParserTestDescriptor; import org.antlr.v4.test.runtime.CommentHasStringValue; +import java.util.Arrays; + public class PerformanceDescriptors { /* * This is a regression test for antlr/antlr4#192 "Poor performance of @@ -105,7 +107,7 @@ public class PerformanceDescriptors { @Override public boolean ignore(String targetName) { - return !targetName.equals("Java"); + return !Arrays.asList("Java", "Python2", "Python3", "Node").contains(targetName); } }