9945: address a bunch of review comments.
[arvados.git] / build / package-testing / test-package-python27-python-arvados-cwl-runner.sh
index 02da021aff8041e5d2499b66093f71a9d998d6e4..99327c016ad618dbf69971a0960e19def60469e9 100755 (executable)
@@ -4,17 +4,5 @@
 # SPDX-License-Identifier: AGPL-3.0
 
 set -e
-arvados-cwl-runner --version
-set +e
-
-PYTHON=`ls /usr/share/python2.7/dist/python-arvados-cwl-runner/bin/python2.7`
 
-if [ "$PYTHON" != "" ]; then
-  set -e
-  exec $PYTHON <<EOF
-import arvados_cwl
-print "arvados-cwl-runner version", arvados_cwl.__version__
-EOF
-else
-       exit 1
-fi
+arvados-cwl-runner --version