fix appveyor build for es6

This commit is contained in:
Eric Vergnaud 2020-10-10 23:39:18 +08:00
parent 8c4c47d999
commit 7732a383ab
1 changed files with 2 additions and 0 deletions

View File

@ -281,6 +281,8 @@ public abstract class BaseRuntimeTest {
// ---- support ----
public static RuntimeTestDescriptor[] getRuntimeTestDescriptors(Class<?> clazz, String targetName) {
if(!TestContext.isSupportedTarget(targetName))
return new RuntimeTestDescriptor[0];
Class<?>[] nestedClasses = clazz.getClasses();
List<RuntimeTestDescriptor> descriptors = new ArrayList<RuntimeTestDescriptor>();
for (Class<?> nestedClass : nestedClasses) {