[SCM] Packaging for LIGGGHTS, an Open Source Discrete Element Method Particle Simulation Software. branch, master, updated. upstream/1.5.1-36-g4f62071

Anton Gladky gladky.anton at gmail.com
Sat Mar 3 06:37:33 UTC 2012


The following commit has been merged in the master branch:
commit 8fc58b69081babd844db103bd5b84d00bbc47da3
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Fri Mar 2 22:28:48 2012 +0100

    Add auto-test.

diff --git a/debian/rules b/debian/rules
index 8ee5169..b5df84c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 %:
 	dh $@ --parallel
 
+export OMPI_MCA_plm_rsh_agent=/bin/false
 CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
 CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
@@ -18,3 +19,9 @@ override_dh_auto_clean:
 override_dh_auto_build:
 	cd src; make fedora
 	mv src/lmp_fedora src/liggghts
+
+override_dh_auto_test:
+	mkdir test
+	cp -r examples/LIGGGHTS/chute_wear/* test/
+	cd test; ./../src/liggghts < in.chute_wear
+	rm -rf test

-- 
Packaging for LIGGGHTS, an Open Source Discrete Element Method Particle Simulation Software.



More information about the debian-science-commits mailing list