summaryrefslogtreecommitdiff
path: root/t/ax/am-test-lib.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-11-11 12:39:40 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-11-11 12:40:01 +0100
commitcae0d860a5bce1593d1be0ce22f3dae81c825230 (patch)
tree1b173094a68e63184fc02e51fab9072e86666424 /t/ax/am-test-lib.sh
parentc3dc900373daa90464d3f16598f941c5a564c3b5 (diff)
downloadautomake-cae0d860a5bce1593d1be0ce22f3dae81c825230.tar.gz
tests: improve a comment
* t/ax/am-test-lib.sh (require_tool): Here, about python support for '--version' option. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/ax/am-test-lib.sh')
-rw-r--r--t/ax/am-test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ax/am-test-lib.sh b/t/ax/am-test-lib.sh
index 85fb7c4a1..103f97d90 100644
--- a/t/ax/am-test-lib.sh
+++ b/t/ax/am-test-lib.sh
@@ -661,8 +661,8 @@ require_tool ()
! cross_compiling || skip_all_ "doesn't work in cross-compile mode"
;;
python)
- # Python doesn't support --version, it has -V
PYTHON=${PYTHON-python}
+ # Older python versions don't support --version, they have -V.
echo "$me: running $PYTHON -V"
$PYTHON -V || skip_all_ "python interpreter not available"
;;