Fixed incorrect checking of nocheck in override_dh_auto_test.

parent ae561a0a
...@@ -54,8 +54,8 @@ override_dh_auto_configure: ...@@ -54,8 +54,8 @@ override_dh_auto_configure:
$(SOURCE_DIR) $(SOURCE_DIR)
# Perform unit testing, but only if not disabled... # Perform unit testing, but only if not disabled...
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test: override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
@echo "# Performing unit tests..." @echo "# Performing unit tests..."
dh_auto_test -- test test_memcheck || { find . -iname "LastTest.log" -exec cat {} \; ; exit 99; } dh_auto_test -- test test_memcheck || { find . -iname "LastTest.log" -exec cat {} \; ; exit 99; }
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment