Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
config=dev
tag="latest"
pythoncmd=python
config=dev
tag="latest"
pythoncmd=python
while test -n "$1" ; do
arg="$1"
while test -n "$1" ; do
arg="$1"
pythoncmd=$2
shift ; shift
;;
pythoncmd=$2
shift ; shift
;;
+ --suite)
+ suite=$2
+ shift ; shift
+ ;;
- echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag] [--build] [--pythoncmd python[23]]"
+ echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag] [--build] [--pythoncmd python(2|3)] [--suite (integration|conformance)]"
pip_install \$(ls -r dist/arvados-cwl-runner-*.tar.gz | head -n1)
fi
pip_install \$(ls -r dist/arvados-cwl-runner-*.tar.gz | head -n1)
fi
if [ \$PYCMD = "python3" ]; then
pip3 install cwltest
else
if [ \$PYCMD = "python3" ]; then
pip3 install cwltest
else
chmod +x /tmp/cwltest/arv-cwl-containers
env
chmod +x /tmp/cwltest/arv-cwl-containers
env
-exec ./run_test.sh RUNNER=/tmp/cwltest/arv-cwl-containers EXTRA=--compute-checksum $@
+if [[ "$suite" = "conformance" ]] ; then
+ exec ./run_test.sh RUNNER=/tmp/cwltest/arv-cwl-containers EXTRA=--compute-checksum $@
+elif [[ "$suite" = "integration" ]] ; then
+ cd /usr/src/arvados/sdk/cwl/tests
+ exec ./arvados-tests.sh $@
+fi