[lua-torch-dok] 01/02: tests: add autopkgtest support
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat Oct 15 09:12:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository lua-torch-dok.
commit 1431324ba86e664fe55b550ace568071996776b4
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat Oct 15 09:11:39 2016 +0000
tests: add autopkgtest support
---
debian/changelog | 6 ++++++
debian/tests/control | 1 +
debian/tests/lua.require | 7 +++++++
3 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2c69826..036dc77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lua-torch-dok (0~20160131-g1b36900-2) UNRELEASED; urgency=medium
+
+ * Add autopkgtest support.
+
+ -- Zhou Mo <cdluminate at gmail.com> Sat, 15 Oct 2016 09:10:56 +0000
+
lua-torch-dok (0~20160131-g1b36900-1) unstable; urgency=low
* Initial release. Closes: #827431
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8e37d58
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: lua.require
diff --git a/debian/tests/lua.require b/debian/tests/lua.require
new file mode 100644
index 0000000..cb70196
--- /dev/null
+++ b/debian/tests/lua.require
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+# simply import this module to see if the package works.
+lua5.1 -ldok -e "print(true)"
+
+exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-dok.git
More information about the debian-science-commits
mailing list