From 62024c49c8de4c447a1b04a927f32366f3760960 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 4 May 2011 13:46:39 +0200 Subject: [PATCH] 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. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index c8e9854..4b54fb2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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