Skip to content

Commit 52e736e

Browse files
committed
Set up tox
Note that the tests are failing. I also copied stuff from the Makefile, which is against DRY, but I want to get rid of the Makefile.
1 parent ed93ee0 commit 52e736e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.tox/
2+
build/
3+
dist/
4+
*.so
5+
*.pyc
6+
*.py0
7+
__pycache__

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[tox]
2+
envlist = py27,py35,py36
3+
[testenv]
4+
commands=
5+
python tests/parse_ifconfig.py -v
6+
python -m unittest discover -v
7+
valgrind --leak-check=full python tests/test_ethtool.py

0 commit comments

Comments
 (0)