Skip to content

Commit

Permalink
Tiny fixes to the Makefile
Browse files Browse the repository at this point in the history
Properly write test_venv.
Fix missing option to test target.
  • Loading branch information
oz123 committed Aug 1, 2022
1 parent f550222 commit 581888e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ ramdisk:
ramdisk-virtualenv: ramdisk
[ ! -e "/mnt/ramdisk/.venv/bin/activate" ] && \
python -m venv /mnt/ramdisk/.venv
echo "/mnt/ramdisk/.venv" >> $(venv_file)
echo "/mnt/ramdisk/.venv" > $(venv_file)

.PHONY: virtualenv
virtualenv:
[ ! -e $(venv_dir) ] && rm -rvf $(venv_file) && python -m venv $(venv_dir)
@echo $(venv_dir) >> $(venv_file)
@echo $(venv_dir) > $(venv_file)

.PHONY: test-install
test-install:
Expand All @@ -74,7 +74,7 @@ tests: parallel ?= -n auto
tests: suite ?=
tests: submodules test-install
source $(get_venv_path)/bin/activate && \
pipenv run pytest -ra $(parallel) -vvv --full-trace --tb=long
pipenv run pytest -ra $(parallel) -vvv --full-trace --tb=long $(suite)

.PHONY: vendor
vendor: virtualenv
Expand Down

0 comments on commit 581888e

Please sign in to comment.