summaryrefslogtreecommitdiffstats
path: root/unit-tests/Makefile
diff options
context:
space:
mode:
authorSlavek Kabrda <bkabrda@redhat.com>2015-01-21 12:57:35 +0100
committerDavid Sommerseth <davids@redhat.com>2015-02-03 21:16:25 +0100
commit5cc3d02060f67317049b6e0549c87a407e030e61 (patch)
tree15174b46cabd9ea08a1c9c35ebb831018577f00f /unit-tests/Makefile
parent9fa1352cd540aa69dd8b59e56de9b8020563e545 (diff)
downloadpython-dmidecode-5cc3d02060f67317049b6e0549c87a407e030e61.tar.gz
python-dmidecode-5cc3d02060f67317049b6e0549c87a407e030e61.tar.xz
python-dmidecode-5cc3d02060f67317049b6e0549c87a407e030e61.zip
Port to Python 3 while maintaining compatibility with Python >= 2.6
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'unit-tests/Makefile')
-rw-r--r--unit-tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/unit-tests/Makefile b/unit-tests/Makefile
index 95086c1..765fd99 100644
--- a/unit-tests/Makefile
+++ b/unit-tests/Makefile
@@ -1,5 +1,7 @@
+PY_BIN := python2
+
test :
- python unit -vv
+ $(PY_BIN) unit -vv
clean :
rm -f *.{py[oc],o,so} *~