We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8a7610 commit a76f074Copy full SHA for a76f074
lib/arduino_ci/arduino_cmd.rb
@@ -96,15 +96,7 @@ def run_and_capture(*args)
96
end
97
98
def board_installed?(board)
99
- # On Travis CI, we get an error message in the GUI instead of on STDERR
100
- # so, assume that if we don't get a rapid reply that things are not installed
101
- x3 = @prefs_response_time * 3
102
- Timeout.timeout(x3) do
103
- run("--board", board)
104
- end
105
- rescue Timeout::Error
106
- puts "No response in #{x3} seconds. Assuming graphical modal error message about board not installed."
107
- false
+ run_with_gui_guess(" about board not installed", "--board", board)
108
109
110
0 commit comments