Просмотр исходного кода

understand DEB_BUILD_OPTIONS nocheck to disable the testexecution

David Kalnischkies лет назад: 15
Родитель
Сommit
224bdefc22
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      debian/rules

+ 4 - 0
debian/rules

@@ -97,7 +97,11 @@ build/configure-stamp: configure
 build/build-stamp: build/configure-stamp
 	# Add here commands to compile the package.
 	$(MAKE) binary
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 	$(MAKE) test
+else
+	@echo "Tests DISABLED"
+endif
 	touch $@
 
 build/build-doc-stamp: build/configure-stamp