File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
arduino/cores/packagemanager Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -228,8 +228,10 @@ func TestFindToolsRequiredForBoard(t *testing.T) {
228
228
loadIndex ("https://dl.espressif.com/dl/package_esp32_index.json" )
229
229
loadIndex ("http://arduino.esp8266.com/stable/package_esp8266com_index.json" )
230
230
loadIndex ("https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" )
231
- errs := pm .LoadHardware ()
232
- require .Len (t , errs , 0 )
231
+ // We ignore the errors returned since they might not be necessarily blocking
232
+ // but just warnings for the user, like in the case a board is not loaded
233
+ // because of malformed menus
234
+ pm .LoadHardware ()
233
235
esp32 , err := pm .FindBoardWithFQBN ("esp32:esp32:esp32" )
234
236
require .NoError (t , err )
235
237
esptool231 := pm .FindToolDependency (& cores.ToolDependency {
You can’t perform that action at this time.
0 commit comments