diff options
author | Jeremy Heiner <scalaprotractor@gmail.com> | 2013-12-20 17:59:46 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-12-21 01:20:04 +0100 |
commit | f7f8964c2315c81939798e870f96083146bbb27c (patch) | |
tree | e45e5f894eb5034e735710b8a9b0e43abad84628 | |
parent | 50e9543908817940792cd9a590c42aed5230c311 (diff) | |
download | pacman-f7f8964c2315c81939798e870f96083146bbb27c.tar.gz pacman-f7f8964c2315c81939798e870f96083146bbb27c.tar.xz |
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 <ScalaProtractor at gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | test/pacman/pmdb.py | 2 | ||||
-rw-r--r-- | test/pacman/pmenv.py | 2 | ||||
-rw-r--r-- | test/pacman/pmfile.py | 2 | ||||
-rw-r--r-- | test/pacman/pmpkg.py | 2 | ||||
-rw-r--r-- | test/pacman/pmrule.py | 2 | ||||
-rw-r--r-- | test/pacman/pmtest.py | 2 | ||||
-rw-r--r-- | test/pacman/util.py | 2 |
8 files changed, 1 insertions, 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Developmet Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # 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 <orelien@chez.com> # Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org> # |