[med-svn] [Git][med-team/liblogger][master] 2 commits: Run build time test
Andreas Tille
gitlab at salsa.debian.org
Tue Sep 17 16:18:02 BST 2019
Andreas Tille pushed to branch master at Debian Med / liblogger
Commits:
5626c125 by Andreas Tille at 2019-09-17T13:12:19Z
Run build time test
- - - - -
7537219c by Andreas Tille at 2019-09-17T15:15:36Z
Upload to new
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
-liblogger (1.0.0-1) UNRELEASED; urgency=medium
+liblogger (1.0.0-1) unstable; urgency=medium
- * Initial release (Closes: #<bug>)
+ * Initial release (Closes: #940585)
- -- Andreas Tille <tille at debian.org> Mon, 29 Jul 2019 19:50:11 +0200
+ -- Andreas Tille <tille at debian.org> Tue, 17 Sep 2019 17:15:25 +0200
=====================================
debian/control
=====================================
@@ -1,10 +1,12 @@
Source: liblogger
-Section: science
+Section: libdevel
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Andreas Tille <tille at debian.org>
Build-Depends: debhelper-compat (= 12),
- cmake
+ cmake,
+ googletest <!nocheck>,
+ python3 <!nocheck>
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/liblogger
Vcs-Git: https://salsa.debian.org/med-team/liblogger.git
=====================================
debian/rules
=====================================
@@ -4,28 +4,17 @@
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
+override_dh_auto_configure:
+ ln -s /usr/src/googletest/googletest vendor/googletest/googletest
+ dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -Dlogger_build_tests=ON
+ # -DCMAKE_BUILD_TYPE=Release
%:
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)))
+ $$(find . -name logger_test)
+endif
View it on GitLab: https://salsa.debian.org/med-team/liblogger/compare/238aadaba2ec3b7eeab33744cf62b39aa431cbb1...7537219cdda4d3d7dc38d826b9cffe8781c4474a
--
View it on GitLab: https://salsa.debian.org/med-team/liblogger/compare/238aadaba2ec3b7eeab33744cf62b39aa431cbb1...7537219cdda4d3d7dc38d826b9cffe8781c4474a
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/20190917/6beadd23/attachment-0001.html>
More information about the debian-med-commit
mailing list