3 if ! which arvbox >/dev/null ; then
4 export PATH=$PATH:$(readlink -f $(dirname $0)/../../tools/arvbox/bin)
11 while test -n "$1" ; do
32 if test -z "$ARVBOX_CONTAINER" ; then
33 export ARVBOX_CONTAINER=cwltest
36 if test $reset_container = 1 ; then
45 . /usr/local/lib/arvbox/common.sh
47 cd /usr/src/arvados/sdk/cwl
49 pip_install \$(ls dist/arvados-cwl-runner-*.tar.gz | tail -n1)
53 if ! test -d common-workflow-language ; then
54 git clone https://github.com/common-workflow-language/common-workflow-language.git
56 cd common-workflow-language
58 export ARVADOS_API_HOST=localhost:8000
59 export ARVADOS_API_HOST_INSECURE=1
60 export ARVADOS_API_TOKEN=\$(cat /var/lib/arvados/superuser_token)
62 exec ./run_test.sh "$@"
67 if test $leave_running = 0 ; then