[sumo] 08/10: Fix unit-test

Anton Gladky gladk at moszumanska.debian.org
Sun May 15 08:14:52 UTC 2016


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

gladk pushed a commit to branch master
in repository sumo.

commit a3f3e745ef64644742145a2027454cd2b53549c7
Author: Anton Gladky <gladk at debian.org>
Date:   Sat May 14 23:54:46 2016 +0200

    Fix unit-test
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index b4f5a38..a7ddf2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,3 +44,9 @@ override_dh_auto_build-arch:
 override_dh_auto_install:
 	dh_auto_install
 	find . -type d -name "__pycache__" -delete
+
+override_dh_auto_test-arch:
+	mkdir $(CURDIR)/tests_auto
+	cd $(CURDIR)/tests_auto; cp ../docs/examples/sumo/hokkaido/* ./; ../bin/sumo -b 0 -e 10000 -n net.net.xml -r input_routes.rou.xml -c hokkaido.sumocfg  --summary-output sum.out
+	cat $(CURDIR)/tests_auto/sum.out
+	rm -rf $(CURDIR)/tests_auto

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



More information about the debian-science-commits mailing list