[liggghts] 03/05: Add autotest.

Anton Gladky gladk at moszumanska.debian.org
Wed Apr 23 21:12:22 UTC 2014


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

gladk pushed a commit to branch master
in repository liggghts.

commit f8e35155f1b3e55fd43ed7c93465289649972f3a
Author: Anton Gladky <gladk at debian.org>
Date:   Wed Apr 23 22:19:44 2014 +0200

    Add autotest.
---
 debian/control       | 1 +
 debian/tests/control | 2 ++
 debian/tests/heat    | 7 +++++++
 3 files changed, 10 insertions(+)

diff --git a/debian/control b/debian/control
index 47201eb..aa0d22b 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Homepage: http://www.liggghts.com/
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/liggghts.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/liggghts.git
+XS-Testsuite: autopkgtest
 
 Package: libliggghts-dev
 Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bd2f28c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: heat
+Depends: liggghts
diff --git a/debian/tests/heat b/debian/tests/heat
new file mode 100644
index 0000000..b5731de
--- /dev/null
+++ b/debian/tests/heat
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+export OMPI_MCA_orte_rsh_agent=/bin/false
+liggghts < ./examples/examples/LIGGGHTS/Tutorials_public/heatTransfer_1/in.heatGran
+
+mpirun -np 2 liggghts < ./examples/examples/LIGGGHTS/Tutorials_public/heatTransfer_1/in.heatGran

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



More information about the debian-science-commits mailing list