[SCM] SUMO packaging. Simulation of Urban MObility. branch, master, updated. 370711333d8a94f327250c97a7baa4fd2d2ea9e2

Anton Gladky gladky.anton at gmail.com
Mon Apr 23 17:15:18 UTC 2012


The following commit has been merged in the master branch:
commit d0df7476c9ef831a66788689772f934905e02522
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Mon Apr 23 19:14:18 2012 +0200

    Add auto-test.

diff --git a/debian/rules b/debian/rules
index ffc5d01..2175fcb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,9 @@ override_dh_auto_build-indep:
 override_dh_auto_build-arch:
 	dh_auto_build -a
 	$(MAKE) man
+
+override_dh_auto_test-arch:
+	mkdir $(CURDIR)/tests
+	cd $(CURDIR)/tests; cp ../docs/examples/sumo/visualization/parade/* ./; ../bin/sumo -b 0 -e 10000 -n net.net.xml -r input_routes.rou.xml -c parade.sumocfg  --summary-output sum.out
+	cat $(CURDIR)/tests/sum.out
+	rm -rf $(CURDIR)/tests

-- 
SUMO packaging. Simulation of Urban MObility.



More information about the debian-science-commits mailing list