mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
junit: fix crash when test runner is not configured
This commit is contained in:
parent
a78eec93d6
commit
c6f60ca00e
|
@ -111,7 +111,9 @@ 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);
|
||||||
runners.put(platform.getPlatform(), runStrategy);
|
if (runStrategy != null) {
|
||||||
|
runners.put(platform.getPlatform(), runStrategy);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var strategy : runners.values()) {
|
for (var strategy : runners.values()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user