diff options
Diffstat (limited to 'debian/tests/python-upstream.sh')
-rwxr-xr-x | debian/tests/python-upstream.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/tests/python-upstream.sh b/debian/tests/python-upstream.sh index 499cc0f2..36d5031c 100755 --- a/debian/tests/python-upstream.sh +++ b/debian/tests/python-upstream.sh @@ -5,11 +5,16 @@ set -u helper=$PWD/debian/tests/upstream.py testdir=$PWD/src/python/test +cp $helper $AUTOPKGTEST_TMP +cp -R $testdir $AUTOPKGTEST_TMP cd $AUTOPKGTEST_TMP +rm -f test/test_dtm.py # Imports torch too early. + for py3ver in $(py3versions -vs) do echo "Running tests with Python ${py3ver}." - /usr/bin/python${py3ver} -B $helper $testdir + /usr/bin/python${py3ver} -B upstream.py test + rm -rf .pytest_cache echo "**********" done |