Scripts/programs to test FreeBSD ethernet interfaces.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- MODULES=testeth
- VIRTUALENV?=python3.8 -m virtualenv
-
- test:
- (ls kvm.py $(MODULES).py | entr sh -c 'python -m coverage run -m unittest -f $(MODULES) && coverage report --omit=p/\* -m -i')
-
- env:
- ($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)
-
- sockio.py: ioctlgen
- ./ioctlgen > $@ || rm -- $@
-
- ioctlgen: ioctlgen.awk Makefile
- awk -f ioctlgen.awk < /usr/include/sys/sockio.h| cc -x c -o ioctlgen -
-
- testioctlgen:
- ls ioctlgen.awk Makefile | entr sh -c 'clear; make sockio.py 2>&1 | head -n 20 && cat sockio.py'
|