tests: improve a comment
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 11 Nov 2012 11:39:40 +0000 (12:39 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 11 Nov 2012 11:40:01 +0000 (12:40 +0100)
* t/ax/am-test-lib.sh (require_tool): Here, about python support
for '--version' option.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/ax/am-test-lib.sh

index 85fb7c4..103f97d 100644 (file)
@@ -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"
       ;;