qca / boardfarm

Main repo moved to:
https://github.com/mattsm/boardfarm/
BSD 3-Clause Clear License
71 stars 54 forks source link

devices: owrt: time.sleep -> pexpect.TIMEOUT #89

Closed mattsm closed 7 years ago

mattsm commented 7 years ago

This has the added benefit of showing the console go by as you wait for time to pass

%s/time.sleep(([^)]*))/self.expect(pexpect.TIMEOUT, timeout=\1)/g

Signed-off-by: Matthew McClintock msm-oss@mcclintock.net