[mapcode] 04/06: execute unittest

Stefan Fritsch sf at moszumanska.debian.org
Wed Nov 2 23:26:44 UTC 2016


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

sf pushed a commit to branch master
in repository mapcode.

commit 28a8398d8f99af34afb65b3cc0392da86192f652
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Wed Nov 2 18:42:09 2016 +0100

    execute unittest
    
    Set a constant build-directory name in order to find the test program
    and execute it.
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0788460..5fb82a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,10 @@
 # a similar manner are welcome.
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel -Bobj
+
+override_dh_auto_test:
+	cd unittest && ../obj/unittest
 
 #get-orig-source:
 #	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git



More information about the Pkg-grass-devel mailing list