You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if l.contains("[INFO ] [BNO080Sensor:0] Connected to"){
Actually serial should probably have a function to "wait for text and throw an error if it gets [ERR], [FATAL], [SEVERE]", so we could reuse it. We should be able to send it a list of strings to watch for - all of them should be present to succeed and no errors should be present during this time.
Figure out why serial writing doesn't work, and GET TEST is not parsed by the board at all...
The text was updated successfully, but these errors were encountered:
Can't write, but I can criticize! So, here are my suggestions on what to do change with code examples!
Nighty-Hardware-Tester/tester/src/main.rs
Line 30 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Line 40 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Line 48 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Line 78 in f0b7ff4
main
function into multiple stages, likeinit
,runTests
,generateReport
,finish
, etc...Nighty-Hardware-Tester/tester/src/main.rs
Line 87 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Lines 361 to 364 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Lines 711 to 714 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Lines 424 to 426 in f0b7ff4
[ERR]
,[FATAL]
,[SEVERE]
etc errors in logs should be reported as test failure, not just a few specific onesNighty-Hardware-Tester/tester/src/main.rs
Line 500 in f0b7ff4
Nighty-Hardware-Tester/tester/src/main.rs
Line 507 in f0b7ff4
Actually serial should probably have a function to "wait for text and throw an error if it gets
[ERR]
,[FATAL]
,[SEVERE]
", so we could reuse it. We should be able to send it a list of strings to watch for - all of them should be present to succeed and no errors should be present during this time.Figure out why serial writing doesn't work, and
GET TEST
is not parsed by the board at all...The text was updated successfully, but these errors were encountered: