[med-svn] [consensuscore2] 03/09: Set up build-time tests

Afif Elghraoui afif at moszumanska.debian.org
Mon Jul 4 01:31:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository consensuscore2.

commit 4a39c87e45ced8dbe0e90880483a9bf0c6c93ddb
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Jul 3 16:20:51 2016 -0700

    Set up build-time tests
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6a2bb41..9d1d0a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,4 +33,9 @@ override_dh_auto_clean:
 override_dh_clean:
 	dh_clean -O--buildsystem=cmake
 
+# The actual build uses a temporary directory for each invocation of setup.py,
+# so we run a separate build for the purposes of testing.
 override_dh_auto_test:
+	dh_auto_configure --buildsystem=cmake
+	dh_auto_build --buildsystem=cmake
+	dh_auto_test --buildsystem=cmake

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/consensuscore2.git



More information about the debian-med-commit mailing list