diff --git a/HIL/Makefile b/HIL/Makefile index 86cf080..17e8da6 100644 --- a/HIL/Makefile +++ b/HIL/Makefile @@ -3,7 +3,7 @@ default: install test install: - pip3 install -r requirements.txt + sudo -H pip3 install -r requirements.txt test: ESP_PORT=/dev/ttyUSB0 ESP_CONFIG_PATH=testconfig ESP_CONFIG_FILE=testconfig.json pytest tests -v --log-cli-level=INFO diff --git a/Makefile b/Makefile index 3c3581d..7b14621 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ default: install test install: - pip3 install -r HIL/requirements.txt + sudo -H pip3 install -r HIL/requirements.txt test: ESP_PORT=/dev/ttyUSB0 ESP_CONFIG_PATH=data ESP_CONFIG_FILE=is-cfg.json PYTHONPATH=. pytest HIL_tests -v --log-cli-level=INFO