[ratpoints] 04/11: Abort package build when test fails.
Tobias Hansen
thansen at moszumanska.debian.org
Wed Jul 9 21:22:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository ratpoints.
commit 3fabe7c850bfc50772f9fd9f1fb47372076ba5e7
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Wed Jul 9 21:53:44 2014 +0200
Abort package build when test fails.
---
debian/changelog | 1 +
debian/patches/automake.patch | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 619f298..aebfd35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ratpoints (1:2.1.3-1) UNRELEASED; urgency=medium
* Include source of ratpoints-doc.pdf in debian/missing-sources/.
* Remove repack infrastructure.
+ * Abort package build when test fails.
-- Tobias Hansen <thansen at debian.org> Wed, 09 Jul 2014 21:24:14 +0200
diff --git a/debian/patches/automake.patch b/debian/patches/automake.patch
index ff35ebe..6baad39 100644
--- a/debian/patches/automake.patch
+++ b/debian/patches/automake.patch
@@ -221,7 +221,7 @@ Subject: Switch to automake, build a shared library using libtool
+
+check-local: $(top_builddir)/rptest testbase
+ time $(top_builddir)/rptest > $(top_builddir)/rptest.out
-+ cmp -s $(top_srcdir)/testbase $(top_builddir)/rptest.out || echo "Test failed!"
++ cmp -s $(top_srcdir)/testbase $(top_builddir)/rptest.out || (echo "Test failed!" && exit 1)
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,75 @@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ratpoints.git
More information about the debian-science-commits
mailing list