mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
20 lines
501 B
Makefile
20 lines
501 B
Makefile
|
srcdir=@srcdir@
|
||
|
|
||
|
all: test
|
||
|
|
||
|
test: venv/bin/pytest fakekey
|
||
|
./venv/bin/pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir)
|
||
|
|
||
|
one: venv/bin/pytest fakekey
|
||
|
./venv/bin/pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) -k exit
|
||
|
|
||
|
fakekey:
|
||
|
../dropbearkey -t ecdsa -f $@
|
||
|
|
||
|
venv/bin/pytest: $(srcdir)/requirements.txt
|
||
|
python3 -m venv init venv
|
||
|
./venv/bin/pip install --upgrade pip
|
||
|
./venv/bin/pip install -r $(srcdir)/requirements.txt
|
||
|
|
||
|
.PHONY: test
|