Tássia Camões Araújo pushed to branch master at Debian Med / epigrass
Commits:
21ff7b76 by Tassia Camoes Araujo at 2021-02-20T13:31:51-05:00
Add functional test
- - - - -
2 changed files:
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,27 @@
+#!/bin/sh -e
+
+pkg=epigrass
+
+# Trivial test
+epirunner -h
+
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+ AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+
+cd $AUTOPKGTEST_TMP
+
+cp -a /usr/share/doc/${pkg}/demos/* .
+
+gunzip *.gz
+
+# Run simulations with demo models
+epirunner script.epg
+epirunner rio.epg
+epirunner flu.epg
+epirunner sars.epg
+epirunner star.epg
+epirunner script.epg
+epirunner mesh.epg
+
+echo "PASS"
View it on GitLab:
https://salsa.debian.org/med-team/epigrass/-/commit/21ff7b76346a1eba900f79224de6d839227eb948
--
View it on GitLab:
https://salsa.debian.org/med-team/epigrass/-/commit/21ff7b76346a1eba900f79224de6d839227eb948
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit