[ros-dynamic-reconfigure] 01/01: WIP

Jochen Sprickerhof jspricke at moszumanska.debian.org
Wed Nov 16 07:36:14 UTC 2016


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

jspricke pushed a commit to branch unit_tests
in repository ros-dynamic-reconfigure.

commit e2e2396342b72d17f737f21893a92319d33daa96
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sun Aug 21 23:02:30 2016 +0200

    WIP
---
 debian/control |  6 +++++-
 debian/rules   | 12 ++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 01bdd95..8b04917 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,11 @@ Build-Depends: debhelper (>= 9),
 		python-rosunit,
 		libroscpp-msgs-dev,
 		dh-python,
-		libconsole-bridge-dev
+		libconsole-bridge-dev,
+		librostest-dev,
+		python-roslib,
+		python-roslaunch,
+		libroslib-dev
 Standards-Version: 3.9.8
 Section: libs
 Homepage: http://www.ros.org/wiki/dynamic_reconfigure
diff --git a/debian/rules b/debian/rules
index 49c59eb..97ce8c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,14 +3,14 @@ DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,+bindnow
 
-# main packaging script based on dh7 syntax
-%:
-	dh $@ --parallel --buildsystem=cmake --with python2
+# Needed for unit tests
+export PYTHONPATH=$(CURDIR)/build/devel/lib/python2.7/dist-packages
 
+%:
+	dh $@ --parallel --buildsystem=cmake --with python2 --builddirectory=build
 
-override_dh_auto_configure:
-	dh_auto_configure -- \
-	-DCATKIN_ENABLE_TESTING=OFF
+override_dh_auto_test:
+	make -C build run_tests
 
 override_dh_auto_clean:
 	rm -f src/dynamic_reconfigure/parameter_generator_catkin.pyc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-dynamic-reconfigure.git



More information about the debian-science-commits mailing list