mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
systemcmds/tests: split out microbenchmarks and remove obsolete tests
- reorganize Jenkins HIL tests
This commit is contained in:
@@ -61,7 +61,7 @@ def do_nsh_cmd(port, baudrate, cmd):
|
||||
|
||||
# run command
|
||||
timeout_start = time.time()
|
||||
timeout = 2 # 2 seconds
|
||||
timeout = 1 # 1 second
|
||||
|
||||
success_cmd = "cmd succeeded!"
|
||||
|
||||
@@ -84,7 +84,7 @@ def do_nsh_cmd(port, baudrate, cmd):
|
||||
|
||||
|
||||
timeout_start = time.time()
|
||||
timeout = 30 # 30 seconds
|
||||
timeout = 180 # 3 minutes
|
||||
|
||||
while True:
|
||||
serial_line = ser.readline().decode("ascii", errors='ignore')
|
||||
|
||||
Reference in New Issue
Block a user