3 if ! which arvbox >/dev/null ; then
4 export PATH=$PATH:$(readlink -f $(dirname $0)/../../tools/arvbox/bin)
11 while test -n "$1" ; do
27 echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo]"
36 if test -z "$ARVBOX_CONTAINER" ; then
37 export ARVBOX_CONTAINER=cwltest
40 if test $reset_container = 1 ; then
49 . /usr/local/lib/arvbox/common.sh
51 cd /usr/src/arvados/sdk/cwl
53 pip_install \$(ls dist/arvados-cwl-runner-*.tar.gz | tail -n1)
57 if ! test -d common-workflow-language ; then
58 git clone https://github.com/common-workflow-language/common-workflow-language.git
60 cd common-workflow-language
62 export ARVADOS_API_HOST=localhost:8000
63 export ARVADOS_API_HOST_INSECURE=1
64 export ARVADOS_API_TOKEN=\$(cat /var/lib/arvados/superuser_token)
66 arv-keepdocker --pull arvados/jobs
69 exec ./run_test.sh "$@"
74 if test $leave_running = 0 ; then