#!/bin/sh -e

pkg=packagename
if [ "$ADTTMP" = "" ] ; then
	ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi
cd "$ADTTMP"


SKIPS=
if [ "$(id -u)" -eq 0 ]; then
	SKIPS="-k not TestUdocker"
fi
py.test-3 --numprocesses=auto --dist=loadfile --ignore cwltool/schemas \
	"${SKIPS}" --pyarg cwltool
