mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
junit: fix crash when test runner is not configured
This commit is contained in:
parent
a78eec93d6
commit
c6f60ca00e
|
@ -111,8 +111,10 @@ public class TeaVMTestRunner extends Runner implements Filterable {
|
||||||
|
|
||||||
for (var platform : platforms) {
|
for (var platform : platforms) {
|
||||||
var runStrategy = platform.createRunStrategy(outputDir);
|
var runStrategy = platform.createRunStrategy(outputDir);
|
||||||
|
if (runStrategy != null) {
|
||||||
runners.put(platform.getPlatform(), runStrategy);
|
runners.put(platform.getPlatform(), runStrategy);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (var strategy : runners.values()) {
|
for (var strategy : runners.values()) {
|
||||||
strategy.beforeAll();
|
strategy.beforeAll();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user