[lua-torch-torch7] 01/01: tests: only use luajit for autopkgtest
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sun Oct 16 07:39:06 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-torch7.
commit 90c7d4de17fddc26e60834b88041dfec649ca8fd
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sun Oct 16 07:38:38 2016 +0000
tests: only use luajit for autopkgtest
---
debian/tests/lua.require | 3 +--
debian/tests/test.torch.unittest | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/debian/tests/lua.require b/debian/tests/lua.require
index 99554d6..4ed1755 100755
--- a/debian/tests/lua.require
+++ b/debian/tests/lua.require
@@ -2,7 +2,6 @@
set -e
# we test if this module can be successfylly loaded by lua
-lua5.1 -ltorch -e 'print(true)' || \
- luajit -ltorch -e 'print(true)'
+luajit -ltorch -e 'print(true)'
exit 0
diff --git a/debian/tests/test.torch.unittest b/debian/tests/test.torch.unittest
index 2d8c4c4..e9a8cdf 100755
--- a/debian/tests/test.torch.unittest
+++ b/debian/tests/test.torch.unittest
@@ -2,7 +2,6 @@
set -e
# let's see if it passes the unit test
-lua5.1 -ltorch -e 'torch.test()' || \
- luajit -ltorch -e 'torch.test()'
+luajit -ltorch -e 'torch.test()'
exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-torch7.git
More information about the debian-science-commits
mailing list