8000 Web Server Test by me-no-dev · Pull Request #1 · me-no-dev/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Web Server Test #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 5, 2016
Prev Previous commit
Next Next commit
test quotes for paths
  • Loading branch information
Me No Dev committed Jul 4, 2016
commit 33b48d90bce2bd083b7e12b7126075ffe8dc3c35
20 changes: 10 additions & 10 deletions tests/device/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ ifneq ("$(NO_BUILD)","1")
-core-api-version="10608" \
-warnings=none \
$(BUILDER_DEBUG_FLAG) \
-build-path $(LOCAL_BUILD_DIR) \
-tools $(ARDUINO_IDE_PATH)/tools-builder \
-hardware $(HARDWARE_DIR)\
-hardware $(ARDUINO_IDE_PATH)/hardware \
-build-path "$(LOCAL_BUILD_DIR)" \
-tools "$(ARDUINO_IDE_PATH)/tools-builder" \
-hardware "$(HARDWARE_DIR)"\
-hardware "$(ARDUINO_IDE_PATH)/hardware" \
-fqbn=$(FQBN) \
$@
endif
Expand All @@ -61,17 +61,17 @@ ifneq ("$(NO_UPLOAD)","1")
-cp $(UPLOAD_PORT) \
-cb $(UPLOAD_BAUD) \
-cd $(UPLOAD_BOARD) \
-cf $(LOCAL_BUILD_DIR)/$(notdir $@).bin
-cf "$(LOCAL_BUILD_DIR)/$(notdir $@).bin"
endif
ifneq ("$(NO_RUN)","1")
@echo Running tests
$(SILENT)$(ESPTOOL) $(UPLOAD_VERBOSE_FLAG) -cp $(UPLOAD_PORT) -cd $(UPLOAD_BOARD) -cr
@source $(BS_DIR)/virtualenv/bin/activate && \
python $(BS_DIR)/runner.py \
@source "$(BS_DIR)/virtualenv/bin/activate" && \
python "$(BS_DIR)/runner.py" \
$(RUNNER_DEBUG_FLAG) \
-p $(UPLOAD_PORT) \
-n $(basename $(notdir $@)) \
-o $(LOCAL_BUILD_DIR)/test_result.xml \
-n "$(basename $(notdir $@))" \
-o "$(LOCAL_BUILD_DIR)/test_result.xml" \
`test -f $(addsuffix .py, $(basename $@)) && echo "-m $(addsuffix .py, $(basename $@))" || echo ""`
endif

Expand All @@ -96,4 +96,4 @@ $(TEST_CONFIG):
@echo "****** "
false

.PHONY: tests all count venv $(BUILD_DIR) $(TEST_LIST)
.PHONY: tests all count venv $(BUILD_DIR) $(TEST_LIST)
0