[med-svn] [Git][med-team/tao-config][master] Disable test invocation in Makefile and override dh_auto_test instead
Shayan Doust
gitlab at salsa.debian.org
Mon Jul 13 13:08:03 BST 2020
Shayan Doust pushed to branch master at Debian Med / tao-config
Commits:
b3cf4ca2 by Shayan Doust at 2020-07-13T13:07:29+01:00
Disable test invocation in Makefile and override dh_auto_test instead
- - - - -
2 changed files:
- debian/patches/modify_makefile.patch
- debian/rules
Changes:
=====================================
debian/patches/modify_makefile.patch
=====================================
@@ -17,3 +17,14 @@ Author: Shayan Doust <hello at shayandoust.me>
DEPENDS := $(SOURCES:%.cpp=build/%.d)
BINARIES := $(SOURCES:%.cpp=build/%)
+@@ -21,8 +21,8 @@
+ all: check $(BINARIES)
+
+ check: build/src/test/config/tests build/src/test/config/errors
+- build/src/test/config/tests $(TESTCASES)
+- build/src/test/config/errors $(ERRORCASES)
++# build/src/test/config/tests $(TESTCASES)
++# build/src/test/config/errors $(ERRORCASES)
+
+ clean:
+ rm -rf build/*
=====================================
debian/rules
=====================================
@@ -4,15 +4,6 @@
export LC_ALL=C.UTF-8
include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-# specified by <https://reproducible-builds.org/specs/source-date-epoch/>
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
@@ -20,12 +11,9 @@ include /usr/share/dpkg/default.mk
%:
dh $@
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-# do_stuff_for_testing
-#endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-# . debian/get-orig-source
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ build/src/test/config/tests
+ build/src/test/config/errors
+ build/src/test/config/schema
+endif
View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/b3cf4ca24373c46f3dd5c0433851fa3d531ce113
--
View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/b3cf4ca24373c46f3dd5c0433851fa3d531ce113
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200713/53a2d4c7/attachment-0001.html>
More information about the debian-med-commit
mailing list