X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fpython-vars.sh;h=6a21a93301b4e65a1b514e4cf6e25d20ed97d97b;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=35cd5d700f4e50fe30b04f9488705b61630ca011;hpb=d25fac43a7c239fe8f56b2ce1b87ef3e3d4d7ef0;p=platform%2Fupstream%2Fautomake.git diff --git a/t/python-vars.sh b/t/python-vars.sh old mode 100755 new mode 100644 index 35cd5d7..6a21a93 --- a/t/python-vars.sh +++ b/t/python-vars.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,18 +18,16 @@ # advertised in the manual. required=python -. ./defs || exit 1 +. test-init.sh # In case the user's config.site defines pythondir or pyexecdir. CONFIG_SITE=/dev/null; export CONFIG_SITE -PYTHON=python - # Update the definition below if the documentation changes. # Note that the value of the 'pythondir' and 'pyexecdir' variables can # vary among different python installations, so we need more relaxed # and ad-hoc checks for them. Also, more proper "functional" checks -# on them should be done in the 'python-virtualenv.test' test. +# on them should be done in the 'python-virtualenv.sh' test. PYTHON_VERSION=$($PYTHON -c 'import sys; print(sys.version[:3])') || exit 1 PYTHON_PLATFORM=$($PYTHON -c 'import sys; print(sys.platform)') || exit 1 PYTHON_EXEC_PREFIX='${exec_prefix}'