#!/bin/sh

set -e

cp -a tests $AUTOPKGTEST_TMP/tests
cd $AUTOPKGTEST_TMP/tests

# Don't test Sphinx/GitHub interlinks during autopkgtests as these tests are
# hardcoded to rely on the "django" Python package to reside adjacent to the
# tests. In the context of an autopkgtest, the "django" package must perforce
# exist installed (i.e. via the .deb) under /usr.
rm -vf sphinx/test_github_links.py

LC_ALL=C.UTF-8 PYTHONPATH=.. python3 ./runtests.py --verbosity 2
