[lua-torch-nn] 05/06: tests: Update autopkgtest.

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sun Jul 30 06:10:00 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 9dc32e0a1e069309ed1e9e58db3a27490a31b8c8
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Jul 26 16:04:25 2017 +0000

    tests: Update autopkgtest.
    
     One for simply lua require and another for upstream unit tests.
---
 debian/tests/control        | 4 +++-
 debian/tests/simply.require | 7 -------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 2b08232..6098d81 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1 +1,3 @@
-Tests: simply.require
+Test-Command: luajit -ltorch -lnn -e 'print(true)'
+
+Test-Command: luajit -ltorch -lnn -e 'nn.test()'
diff --git a/debian/tests/simply.require b/debian/tests/simply.require
deleted file mode 100644
index 75df58f..0000000
--- a/debian/tests/simply.require
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/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