From 0f275cf7f74c2641b67a76abe25db0716bd7b0b9 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 25 Oct 2019 00:57:52 -0700 Subject: [PATCH] don't need twisted as moving to asyncio... allow the python binary to be set to allow pypy to possibly be used.. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 44b7237..21a09e7 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ VIRTUALENV ?= virtualenv +VRITUALENVARGS = -MODULES=twistednoise.py +MODULES=ntunnel.py test: - (echo $(MODULES) | entr sh -c 'python -m coverage run -m twisted.trial $(basename $(MODULES)) && coverage report --omit=p/\* -m -i') + (echo $(MODULES) | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i') env: - ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt) + ($(VIRTUALENV) $(VIRTUALENVARGS) p && . ./p/bin/activate && pip install -r requirements.txt)