enable perf tests for python and javascript

This commit is contained in:
Eric Vergnaud 2016-11-30 01:29:44 +08:00
parent f9d79dfcb2
commit 6e0d02a32d
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}