File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import net
8
8
import system.containers
9
9
import uuid show Uuid
10
10
11
+ import .shared
12
+
11
13
main :
12
14
cause := esp32 .wakeup-cause
13
15
print "Wakeup cause: $ cause "
@@ -28,7 +30,7 @@ install-new-test:
28
30
network := net .open
29
31
server-socket := network .tcp-listen 0
30
32
print "$ network.address :$ server-socket.local-address.port "
31
- print " MINI-JAG LISTENING"
33
+ print MINI-JAG- LISTENING
32
34
socket := server-socket .accept
33
35
reader := socket .in
34
36
size := reader .little-endian .read-int32
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ import system
14
14
import uart
15
15
import .shared
16
16
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"
20
18
JAG-DECODE ::= "jag decode"
21
19
22
20
main args :
@@ -148,7 +146,7 @@ class TestDevice:
148
146
collected-output += data .to-string-non-throwing
149
147
if not ready-latch .has-value and collected-output .contains "\n $ MINI-JAG-LISTENING " :
150
148
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 :
152
150
all-tests-done .set true
153
151
if collected-output .contains JAG-DECODE :
154
152
ui .abort "Error detected"
You can’t perform that action at this time.
0 commit comments