Skip to content

Commit 4633b26

Browse files
committed
Feedback.
1 parent 7ccea6f commit 4633b26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/hw/esp-tester/mini-jag.toit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import net
88
import system.containers
99
import uuid show Uuid
1010

11+
import .shared
12+
1113
main:
1214
cause := esp32.wakeup-cause
1315
print "Wakeup cause: $cause"
@@ -28,7 +30,7 @@ install-new-test:
2830
network := net.open
2931
server-socket := network.tcp-listen 0
3032
print "$network.address:$server-socket.local-address.port"
31-
print "MINI-JAG LISTENING"
33+
print MINI-JAG-LISTENING
3234
socket := server-socket.accept
3335
reader := socket.in
3436
size := reader.little-endian.read-int32

tests/hw/esp-tester/tester.toit

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ import system
1414
import uart
1515
import .shared
1616

17-
MINI-JAG-LISTENING ::= "MINI-JAG LISTENING"
18-
TEST-STARTED ::= "TEST STARTED"
19-
ALL-TEST-DONE ::= "All tests done"
17+
ALL-TESTS-DONE ::= "All tests done"
2018
JAG-DECODE ::= "jag decode"
2119

2220
main args:
@@ -148,7 +146,7 @@ class TestDevice:
148146
collected-output += data.to-string-non-throwing
149147
if not ready-latch.has-value and collected-output.contains "\n$MINI-JAG-LISTENING":
150148
ready-latch.set true
151-
if not all-tests-done.has-value and collected-output.contains ALL-TEST-DONE:
149+
if not all-tests-done.has-value and collected-output.contains ALL-TESTS-DONE:
152150
all-tests-done.set true
153151
if collected-output.contains JAG-DECODE:
154152
ui.abort "Error detected"

0 commit comments

Comments
 (0)