comparison test/Makefile.in @ 1863:b550845e500b

Use venv for test_aslr Otherwise we can't find the psutil dependency
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 13:37:20 +0800
parents df7bfd2f7d45
children
comparison
equal deleted inserted replaced
1862:6f265a35159a 1863:b550845e500b
1 srcdir=@srcdir@ 1 srcdir=@srcdir@
2
3 SHELL=bash
2 4
3 all: test 5 all: test
4 6
5 test: venv/bin/pytest fakekey 7 test: venv/bin/pytest fakekey
6 ./venv/bin/pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) 8 (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) )
7 9
8 one: venv/bin/pytest fakekey 10 one: venv/bin/pytest fakekey
9 ./venv/bin/pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) -k exit 11 (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) -k exit)
10 12
11 fakekey: 13 fakekey:
12 ../dropbearkey -t ecdsa -f $@ 14 ../dropbearkey -t ecdsa -f $@
13 15
14 venv/bin/pytest: $(srcdir)/requirements.txt 16 venv/bin/pytest: $(srcdir)/requirements.txt