Fix test path for mac

This commit is contained in:
Alissa Huskey 2019-11-12 21:18:00 -07:00
parent bf1efbab20
commit d841c3f85d

View file

@ -69,7 +69,13 @@ ifneq ($(TEST),)
MPIDE_DIR = $(DEPENDENCIES_MPIDE_DIR)
endif
DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/arduino-1.0.6
ifeq ($(CURRENT_OS),MAC)
IDE_DIRNAME=Arduino.app/Contents/Resources/Java
else
IDE_DIRNAME=arduino-1.0.6
endif
DEPENDENCIES_ARDUINO_DIR = $(DEPENDENCIES_DIR)/$(IDE_DIRNAME)
ifeq ($(ARDUINO_DIR),)
ARDUINO_DIR = $(DEPENDENCIES_ARDUINO_DIR)
endif