mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
device tests: updates for esptool.py (#6084)
Makefile new rule: 'make distclean' removes virtualenv attempt to use python3 (python2 is still default)
This commit is contained in:
committed by
Earle F. Philhower, III
parent
2df33de1e7
commit
818a55f575
@ -1,5 +1,6 @@
|
||||
PYTHON_ENV_DIR=virtualenv
|
||||
TEST_EXECUTABLE=test/test
|
||||
PYTHON ?= python3
|
||||
|
||||
all: test
|
||||
|
||||
@ -10,7 +11,7 @@ clean:
|
||||
rm -rf $(TEST_EXECUTABLE)
|
||||
|
||||
$(PYTHON_ENV_DIR):
|
||||
virtualenv --no-site-packages $(PYTHON_ENV_DIR)
|
||||
virtualenv --python=$(PYTHON) --no-site-packages $(PYTHON_ENV_DIR)
|
||||
. $(PYTHON_ENV_DIR)/bin/activate && pip install -r requirements.txt
|
||||
|
||||
test: $(TEST_EXECUTABLE) $(PYTHON_ENV_DIR)
|
||||
|
Reference in New Issue
Block a user