-CDBS = /usr/share/cdbs/1
-include $(CDBS)/rules/debhelper.mk
-include $(CDBS)/class/autotools.mk
+## Test both with and without CPU-specific optimizations.
+override_dh_auto_test:
+ dh_auto_test $(addprefix -O, $(DH_OPTIONS))
+ CATACOMB_CPUFEAT="-*" dh_auto_test $(addprefix -O, $(DH_OPTIONS))