Skip to content

Commit

Permalink
[#53226] runtimes: renode: Use evaluate function with validation
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <eszpotanski@antmicro.com>
  • Loading branch information
eszpotanski authored and glatosinski committed Feb 14, 2024
1 parent 22c5452 commit 8d9332f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kenning/runtimes/renode.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,12 @@ def run_client(
)

if self.sensor is not None:
measurements += dataset.evaluate(posty, None, out_spec)
measurements += dataset._evaluate(
posty, None, out_spec
)
else:
_, y = sample
measurements += dataset.evaluate(posty, y, out_spec)
measurements += dataset._evaluate(posty, y, out_spec)

if self.runtime_log_uart is not None:
self.runtime_logs += (
Expand Down

0 comments on commit 8d9332f

Please sign in to comment.