From f7f8964c2315c81939798e870f96083146bbb27c Mon Sep 17 00:00:00 2001 From: Jeremy Heiner Date: Fri, 20 Dec 2013 11:59:46 -0500 Subject: Use the 'configure'd PYTHON to run pactest. Use the 'configure'd PYTHON to run pactest instead of the one hard-coded (with '#!') in pactest.py. Also remove useless '#!' from non-main .py files. Signed-off-by: Jeremy Heiner Signed-off-by: Allan McRae --- Makefile.am | 2 +- test/pacman/pmdb.py | 2 -- test/pacman/pmenv.py | 2 -- test/pacman/pmfile.py | 2 -- test/pacman/pmpkg.py | 2 -- test/pacman/pmrule.py | 2 -- test/pacman/pmtest.py | 2 -- test/pacman/util.py | 2 -- 8 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4d5adae3..d22c52e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ $(top_srcdir)/build-aux/tap-driver.sh PY_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ $(top_srcdir)/build-aux/tap-driver.sh -PY_LOG_COMPILER = $(top_srcdir)/test/pacman/pactest.py +PY_LOG_COMPILER = $(PYTHON) $(top_srcdir)/test/pacman/pactest.py AM_PY_LOG_FLAGS = \ --scriptlet-shell $(SCRIPTLET_SHELL) \ --ldconfig $(LDCONFIG) \ diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index 53de91e6..e64255e6 100644 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py index f358285a..2b021d1e 100644 --- a/test/pacman/pmenv.py +++ b/test/pacman/pmenv.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Developmet Team # diff --git a/test/pacman/pmfile.py b/test/pacman/pmfile.py index 49c02749..71098739 100644 --- a/test/pacman/pmfile.py +++ b/test/pacman/pmfile.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 6f7ae6e1..3daa93f7 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index cfcbb6b9..9c11d5d7 100644 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index a1f3645d..583007ff 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # diff --git a/test/pacman/util.py b/test/pacman/util.py index ab5a6f47..79471240 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -1,5 +1,3 @@ -#! /usr/bin/python2 -# # Copyright (c) 2006 by Aurelien Foret # Copyright (c) 2006-2013 Pacman Development Team # -- cgit v1.2.3-70-g09d2