[lua-torch-torch7] 01/01: tests: lua.require uses luajit if lua5.1 is not available
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sun Oct 16 07:33:16 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 3569f290846a565a79441e80bd9c216d00a0687b
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sun Oct 16 07:32:49 2016 +0000
tests: lua.require uses luajit if lua5.1 is not available
---
debian/tests/lua.require | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/tests/lua.require b/debian/tests/lua.require
index a5dda0f..99554d6 100755
--- a/debian/tests/lua.require
+++ b/debian/tests/lua.require
@@ -2,6 +2,7 @@
set -e
# we test if this module can be successfylly loaded by lua
-lua5.1 -ltorch -e 'print(true)'
+lua5.1 -ltorch -e 'print(true)' || \
+ luajit -ltorch -e 'print(true)'
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