From c138024e2ff0dafa75f644a9b184b99e1cf8773d Mon Sep 17 00:00:00 2001 From: Carlos Valiente <superdupont@gmail.com> Date: Tue, 5 May 2009 16:12:48 +0100 Subject: [PATCH] Make Python interpreter selectable for test scripts The Python interpreter used to run the test cases is hard-coded to be /usr/bin/python. If we use the first one from $PATH instead, it is much easier to test ganeti with other Python versions. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 42b41b447..2d42e20a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -222,7 +222,7 @@ nodist_TESTS = TESTS = $(dist_TESTS) $(nodist_TESTS) -TESTS_ENVIRONMENT = PYTHONPATH=.:$(top_builddir) +TESTS_ENVIRONMENT = PYTHONPATH=.:$(top_builddir) $(PYTHON) RAPI_RESOURCES = $(wildcard lib/rapi/*.py) -- GitLab