You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
By convention, scripts to build Debian packages should skip running unit tests if the environment variable DEB_BUILD_OPTIONS contains the string "nocheck"
# we copy the tests to a temporary directory so that we can put them on the# PYTHONPATH without putting the uninstalled synapse on the pythonpath.
tmpdir=`mktemp -d`trap"rm -r $tmpdir" EXIT
cp -r tests "$tmpdir"
PYTHONPATH="$tmpdir" \
"${TARGET_PYTHON}" -m twisted.trial --reporter=text -j2 tests
It would be good if that was conditional and skipped if DEB_BUILD_OPTIONS included nocheck.
It may be that this should go in our debian/rules file under override_dh_auto_test: or similar, instead of in the debian/build_virtualenv file.