X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4aee7d57faff02fc6b7b6f750dc22a29e58bb963..f42ee7c19b794e25db30051b1dfc4bee83929bcd:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index 39c834ed60..33686df0d9 100755 --- a/sdk/cwl/test_with_arvbox.sh +++ b/sdk/cwl/test_with_arvbox.sh @@ -12,8 +12,9 @@ fi reset_container=1 leave_running=0 config=dev +devcwl=0 tag="latest" -pythoncmd=python +pythoncmd=python3 suite=conformance runapi=containers @@ -40,6 +41,10 @@ while test -n "$1" ; do build=1 shift ;; + --devcwl) + devcwl=1 + shift + ;; --pythoncmd) pythoncmd=$2 shift ; shift @@ -53,7 +58,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-v1.1)]" + echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag] [--build] [--pythoncmd python(2|3)] [--suite (integration|conformance-v1.0|conformance-*)]" exit ;; *) @@ -78,6 +83,8 @@ fi arvbox start $config $tag +docker cp $(readlink -f $(dirname $0)/tests) $ARVBOX_CONTAINER:/usr/src/arvados/sdk/cwl/tests + arvbox pipe </tmp/cwltest/arv-cwl-jobs </tmp/cwltest/arv-cwl-containers <