-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add esp32-tester. #2680
Add esp32-tester. #2680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
tests/hw/esp-tester/mini-jag.toit
Outdated
network := net.open | ||
server-socket := network.tcp-listen 0 | ||
print "$network.address:$server-socket.local-address.port" | ||
print "MINI-JAG LISTENING" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use the constant from shared.toit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
tests/hw/esp-tester/tester.toit
Outdated
import uart | ||
import .shared | ||
|
||
MINI-JAG-LISTENING ::= "MINI-JAG LISTENING" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the constant from shared.toit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
tests/hw/esp-tester/tester.toit
Outdated
import .shared | ||
|
||
MINI-JAG-LISTENING ::= "MINI-JAG LISTENING" | ||
TEST-STARTED ::= "TEST STARTED" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
done.
tests/hw/esp-tester/tester.toit
Outdated
|
||
MINI-JAG-LISTENING ::= "MINI-JAG LISTENING" | ||
TEST-STARTED ::= "TEST STARTED" | ||
ALL-TEST-DONE ::= "All tests done" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ALL-TEST-DONE ::= "All tests done" | |
ALL-TESTS-DONE ::= "All tests done" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
tests/hw/esp-tester/tester.toit
Outdated
collected-output += data.to-string-non-throwing | ||
if not ready-latch.has-value and collected-output.contains "\n$MINI-JAG-LISTENING": | ||
ready-latch.set true | ||
if not all-tests-done.has-value and collected-output.contains ALL-TEST-DONE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not all-tests-done.has-value and collected-output.contains ALL-TEST-DONE: | |
if not all-tests-done.has-value and collected-output.contains ALL-TESTS-DONE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
No description provided.