[lua-torch-nn] 01/03: tests: add basic autopkgtest support
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Wed Jan 11 07:00:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository lua-torch-nn.
commit 6897219cbb773dedce4d0186fcbe444ac0075f5e
Author: Zhou Mo <cdluminate at gmail.com>
Date: Wed Jan 11 06:54:49 2017 +0000
tests: add basic autopkgtest support
---
debian/changelog | 1 +
debian/tests/control | 1 +
debian/tests/simply.require | 7 +++++++
3 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2956ff7..544f12b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ lua-torch-nn (0~20170104-ge77b592+dfsg-1) UNRELEASED; urgency=medium
* Remove patch: THNN-assume-torch-is-present . Use cmake flag
`Torch_FOUND` in d/rules instead.
* Modify patch: THNN-cmake-add-soversion to adapt upstream change.
+ * Add basic autopkgtest support.
-- Zhou Mo <cdluminate at gmail.com> Tue, 10 Jan 2017 14:27:59 +0000
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2b08232
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: simply.require
diff --git a/debian/tests/simply.require b/debian/tests/simply.require
new file mode 100644
index 0000000..75df58f
--- /dev/null
+++ b/debian/tests/simply.require
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+# simply require it in luajit to see it if works
+luajit -lnn -e 'print(nn)'
+
+exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-nn.git
More information about the debian-science-commits
mailing list