-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* increase timeouts in all expect scripts with additional time added to the last exect script component.exp, which runs extra slow on github ubuntu.
- Loading branch information
Showing
4 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
set timeout 120 | ||
set timeout 180 | ||
spawn fprime-bootstrap project | ||
expect "Project name (MyProject):" | ||
send -- "MyProject\r" | ||
send "MyProject\r" | ||
expect eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
set timeout 120 | ||
set timeout 60 | ||
spawn fprime-util new --component | ||
expect "Component name (MyComponent):" | ||
send -- "MyComponent\r" | ||
expect "Select component kind" | ||
send -- "1\r" | ||
expect "Enable Commands?" | ||
send -- "1\r" | ||
expect "Enable Telemetry?" | ||
send -- "1\r" | ||
expect "Enable Parameters?" | ||
send -- "1\r" | ||
expect "Add MyComponent to" | ||
send -- "yes\r" | ||
expect -re {.*Component name.*} | ||
send "MyComponent\r" | ||
expect -re {.*Component short description.*} | ||
send "test component\r" | ||
expect -re {.*Component namespace.*} | ||
send "Components\r" | ||
expect -re {.*Select component kind} | ||
send "1\r" | ||
expect -re {.*Enable Commands.*} | ||
send "1\r" | ||
expect -re {.*Enable Telemetry.*} | ||
send "1\r" | ||
expect -re {.*Enable Events.*} | ||
send "1\r" | ||
expect -re {.*Enable Parameters.*} | ||
send "1\r" | ||
expect -re {Add MyComponent to.*} | ||
send "yes\r" | ||
expect -re {Generate implementation files.*} | ||
send "yes\r" | ||
expect -re {.*New deployment successfully created.*} | ||
expect eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
set timeout 120 | ||
spawn fprime-util new --deployment | ||
expect "Deployment name (MyDeployment):" | ||
send -- "MyDeployment\r" | ||
expect "Select communication driver type" | ||
send -- "2\r" | ||
expect "Add MyDeployment to fprime/CMakeLists.txt" | ||
send -- "yes\r" | ||
send "MyDeployment\r" | ||
expect -re "* Select communication driver type" | ||
send "1\r" | ||
expect -re "Add MyDeployment*" | ||
send "yes\r" | ||
expect eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters