#!/bin/sh -ex

pkg=toil

export LC_ALL=C.UTF-8
# if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
#   AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
#   trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
# fi
# 
# cd "${AUTOPKGTEST_TMP}"

TOIL_TEST_QUICK=True TOIL_SKIP_DOCKER=True python3 -m pytest -vv -W ignore -k "not test_bioconda and not AWSJobStoreTest and not awsjobstoretest and not testCwlexample and not CWLv10Test and not CWLv11Test and not CWLv12Test" --ignore-glob '*cwlTest*' --pyargs toil.test
