X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2bc9a2668d7be9c55243ec0f5011ff3c6fa91837..352bc8e7263b020be295861cb6bde60203f681f7:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index e43be6a61f..1742e68df8 100755 --- a/sdk/cwl/test_with_arvbox.sh +++ b/sdk/cwl/test_with_arvbox.sh @@ -14,9 +14,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 +45,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 +62,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 ;; *) @@ -83,26 +87,28 @@ fi arvbox start $config $tag +# Copy the integration test suite from our local arvados clone instead +# 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 + arvbox pipe <