Respect $PYTHON for running the test suite

On systems which have an older (< 2.7) Python by default, this allows you to
run make check under PYTHON=python2.7.
This commit is contained in:
Martin Pitt 2011-05-04 13:46:39 +02:00
parent 958bb53105
commit 62024c49c8

View file

@ -127,7 +127,7 @@ if UP_BUILD_TESTS
DBUS_LAUNCH=$(shell which dbus-launch)
check-local: upowerd
env top_builddir=$(top_builddir) $(DBUS_LAUNCH) $(srcdir)/linux/integration-test -v
env top_builddir=$(top_builddir) $(DBUS_LAUNCH) $${PYTHON:-python} $(srcdir)/linux/integration-test -v
endif
endif