[fityk] 44/45: Add simple autopkgtest tests

Stuart Prescott stuart at debian.org
Sun Nov 6 23:35:34 UTC 2016


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

stuart pushed a commit to branch master
in repository fityk.

commit 60e3e09ba59bfa785d007712894c14dd2a93afbb
Author: Stuart Prescott <stuart at debian.org>
Date:   Sun Nov 6 21:23:46 2016 +1100

    Add simple autopkgtest tests
---
 debian/tests/control |  2 ++
 debian/tests/fityk   | 15 +++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..eee2cd2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: fityk
+Depends: fityk
diff --git a/debian/tests/fityk b/debian/tests/fityk
new file mode 100644
index 0000000..484c4e6
--- /dev/null
+++ b/debian/tests/fityk
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+cp -a samples tests "$ADTTMP"
+cd "$ADTTMP"
+
+# Copied from Makefile.am in the source package:
+
+cfityk -q -c "= F:get_info('version')..'\n'..F:get_info('compiler')"
+cfityk -n -q samples/enso.fit
+cfityk -n -q samples/read-shockley.fit
+cfityk -n -q samples/nacl01.fit
+cfityk -n -q samples/SiC_Zn.fit
+cfityk -n -q samples/hello.lua
+rm -f tmp_save.fit
+cfityk -n -q tests/test_syntax.fit

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



More information about the debian-science-commits mailing list