[lua-torch-optim] 08/08: tests: fix

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Oct 28 13:47:57 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-optim.

commit 438ba0c2275c9a4e8a495c48e4bcddd6ea0af76c
Author: Mo Zhou <cdluminate at gmail.com>
Date:   Sat Oct 28 13:47:19 2017 +0000

    tests: fix
---
 debian/tests/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index ec91223..51689a2 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,8 +1,8 @@
-Test-Command: luajit -loptim -e "print(true)"
+Test-Command: luajit -loptim -e "os.exit()"
 Depends: luajit, lua-torch-optim
 
-Test-Command: luajit -ltorch -loptim test/test_sgd.lua
+Test-Command: cd test; luajit -ltorch -loptim test_sgd.lua
 Depends: luajit, lua-torch-optim
 
-Test-Command: luajit -ltorch -loptim test/test_adam.lua
+Test-Command: cd test; luajit -ltorch -loptim test_adam.lua
 Depends: luajit, lua-torch-optim

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-optim.git



More information about the debian-science-commits mailing list