mirror of
https://github.com/espressif/openthread.git
synced 2026-10-26 01:04:06 +00:00
[test] fix reporting expect failure (#6869)
This commit fixes reporting expect failures by adding fail on error flag to the ot_exec_expect_script function in script/test script. This commit also fixes failing expect tests and removes expect tests on macOS for unstable issues.
This commit is contained in:
@@ -44,7 +44,7 @@ expect "2"
|
||||
expect_line "Done"
|
||||
|
||||
send "mac\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
expect "Error 35: InvalidCommand"
|
||||
send "mac something_invalid\n"
|
||||
expect "Error 35: InvalidCommand"
|
||||
send "mac retries\n"
|
||||
|
||||
Reference in New Issue
Block a user