junit: fix crash when test runner is not configured

This commit is contained in:
Alexey Andreev 2023-10-17 10:04:57 +02:00
parent a78eec93d6
commit c6f60ca00e

View File

@ -111,8 +111,10 @@ public class TeaVMTestRunner extends Runner implements Filterable {
for (var platform : platforms) {
var runStrategy = platform.createRunStrategy(outputDir);
if (runStrategy != null) {
runners.put(platform.getPlatform(), runStrategy);
}
}
for (var strategy : runners.values()) {
strategy.beforeAll();