diff options
| author | Joseph Mingrone <Jehops@users.noreply.github.com> | 2022-10-14 14:22:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 12:22:20 -0500 |
| commit | c419465f42e53e3c7dee3d030c0f85a86e257267 (patch) | |
| tree | ce5cbdf15fdd544cafd968f2b6b68bc30b084695 /Makefile | |
| parent | 74804475c145d0e22c10ff4cf70f011058633707 (diff) | |
| download | cloud-init-git-c419465f42e53e3c7dee3d030c0f85a86e257267.tar.gz | |
Remove hardcoding and unnecessary overrides in Makefile (#1783)
Do not override existing value for PYTHON and do not hardcode the
binary in unittest target.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ VARIANT ?= ubuntu YAML_FILES=$(shell find cloudinit tests tools -name "*.yaml" -type f ) YAML_FILES+=$(shell find doc/examples -name "cloud-config*.txt" -type f ) -PYTHON = python3 +PYTHON ?= python3 NUM_ITER ?= 100 @@ -29,7 +29,7 @@ flake8: @$(CWD)/tools/run-flake8 unittest: clean_pyc - python3 -m pytest -v tests/unittests cloudinit + $(PYTHON) -m pytest -v tests/unittests cloudinit render-template: $(PYTHON) ./tools/render-cloudcfg --variant=$(VARIANT) $(FILE) $(subst .tmpl,,$(FILE)) |
