tag="latest"
pythoncmd=python
suite=conformance
+runapi=containers
while test -n "$1" ; do
arg="$1"
suite=$2
shift ; shift
;;
+ --api)
+ runapi=$2
+ 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)]"
exit
if [ \$PYCMD = "python3" ]; then
pip3 install cwltest
else
- pip3 install cwltest
+ pip install cwltest
fi
mkdir -p /tmp/cwltest
env
if [[ "$suite" = "conformance" ]] ; then
- exec ./run_test.sh RUNNER=/tmp/cwltest/arv-cwl-containers EXTRA=--compute-checksum $@
+ exec ./run_test.sh RUNNER=/tmp/cwltest/arv-cwl-${runapi} EXTRA=--compute-checksum $@
elif [[ "$suite" = "integration" ]] ; then
cd /usr/src/arvados/sdk/cwl/tests
exec ./arvados-tests.sh $@