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.
gentoo-overlay/dev-python/sepolgen/files/0040-have-test-run-with-PYT...

17 lines
436 B

diff -uNr sepolgen-1.2.1.orig/tests/Makefile sepolgen-1.2.1/tests/Makefile
--- sepolgen-1.2.1.orig/tests/Makefile 2013-11-04 22:25:44.704024216 +0100
+++ sepolgen-1.2.1/tests/Makefile 2013-11-04 22:26:09.718024270 +0100
@@ -1,3 +1,5 @@
+PYTHON ?= /usr/bin/python
+
clean:
rm -f *~ *.pyc
rm -f parser.out parsetab.py
@@ -6,4 +8,4 @@
rm -f output
test:
- python run-tests.py
\ No newline at end of file
+ $(PYTHON) run-tests.py