This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Our Debian build scripts do not respect DEB_BUILD_OPTIONS=nocheck to skip running unit tests #9706
Labels
good first issue
Good for newcomers
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
By convention, scripts to build Debian packages should skip running unit tests if the environment variable DEB_BUILD_OPTIONS contains the string "nocheck"
For example, dh-virtualenv specifies
But Synapse doesn't respect this.
In our
debian/build_virtualenv
file we always run the tests:It would be good if that was conditional and skipped if
DEB_BUILD_OPTIONS
includednocheck
.It may be that this should go in our
debian/rules
file underoverride_dh_auto_test:
or similar, instead of in thedebian/build_virtualenv
file.The text was updated successfully, but these errors were encountered: