X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3b8d03f7063b162355bccfd71aeb2b8b67bbdbb..HEAD:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index 55099afdf7..e36eb589b2 100755 --- a/sdk/cwl/test_with_arvbox.sh +++ b/sdk/cwl/test_with_arvbox.sh @@ -5,8 +5,10 @@ set -x +cwldir=$(readlink -f $(dirname $0)) + if ! which arvbox >/dev/null ; then - export PATH=$PATH:$(readlink -f $(dirname $0)/../../tools/arvbox/bin) + export PATH=$PATH:$cwldir/../../tools/arvbox/bin fi reset_container=1 @@ -14,7 +16,6 @@ leave_running=0 config=dev devcwl=0 tag="latest" -pythoncmd=python3 suite=conformance runapi=containers reinstall=0 @@ -51,7 +52,7 @@ while test -n "$1" ; do shift ;; --pythoncmd) - pythoncmd=$2 + echo "warning: --pythoncmd option is no longer supported; ignored" >&2 shift ; shift ;; --suite) @@ -63,7 +64,7 @@ while test -n "$1" ; do shift ; shift ;; -h|--help) - echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag] [--build] [--pythoncmd python(2|3)] [--suite (integration|conformance-v1.0|conformance-*)]" + echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag] [--build] [--suite (integration|conformance-v1.0|conformance-*)]" exit ;; *) @@ -92,23 +93,15 @@ arvbox start $config $tag # of using the one inside the container, so we can make changes to the # integration tests without necessarily having to rebuilding the # container image. -docker cp -L $(readlink -f $(dirname $0)/tests) $ARVBOX_CONTAINER:/usr/src/arvados/sdk/cwl +docker cp -L $cwldir/tests $ARVBOX_CONTAINER:/usr/src/arvados/sdk/cwl arvbox pipe <