X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b9a5ff791910fc8c49b02521c48a5bf25ccc4259..HEAD:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index 6823a8e2a5..51d64b3f84 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,9 +16,9 @@ leave_running=0 config=dev devcwl=0 tag="latest" -pythoncmd=python3 suite=conformance runapi=containers +reinstall=0 while test -n "$1" ; do arg="$1" @@ -45,8 +47,12 @@ while test -n "$1" ; do devcwl=1 shift ;; + --reinstall) + reinstall=1 + shift + ;; --pythoncmd) - pythoncmd=$2 + echo "warning: --pythoncmd option is no longer supported; ignored" >&2 shift ; shift ;; --suite) @@ -58,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 ;; *) @@ -87,28 +93,24 @@ 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 <