From 6e0d02a32d1c1323ebfec27144fe928954577d34 Mon Sep 17 00:00:00 2001 From: Eric Vergnaud Date: Wed, 30 Nov 2016 01:29:44 +0800 Subject: [PATCH] enable perf tests for python and javascript --- .../v4/test/runtime/descriptors/PerformanceDescriptors.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } }