mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-24 10:49:43 +00:00
Fix: result empty on no run was executed
This commit is contained in:
parent
02be38a85d
commit
c0e2bf2e38
@ -94,9 +94,11 @@ public class TestRunner {
|
||||
track.commit();
|
||||
|
||||
logger.info("compare results");
|
||||
|
||||
// todo: perform logs comparision
|
||||
List<LogInfo> logs = executor.getResult().getLogInfoList();
|
||||
|
||||
List<LogInfo> logs = null;
|
||||
if (executor.getResult() != null)
|
||||
logs = executor.getResult().getLogInfoList();
|
||||
|
||||
List<String> logResults = testCase.getLogs().compareToReal(logs);
|
||||
results.addAll(logResults);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user