diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 3d1c3eaed2..ced9cb339d 100755 --- a/debian/rules +++ b/debian/rules @@ -61,3 +61,11 @@ override_dh_fixperms: debian/wireshark-dev/usr/share/pyshared/wireshark_be.py \ debian/wireshark-dev/usr/share/pyshared/wireshark_gen.py +# Adapted from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861988 +override_dh_auto_test: +ifeq ($(filter $(DEB_BUILD_OPTIONS),nocheck),) + # XXX Add -- --verbose? + dh_auto_test +else + @echo '"DEB_BUILD_OPTIONS" has "nocheck". Skipping tests' +endif |