[lua-torch-torch7] 01/01: rules: remove deb.test test
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Mon Aug 8 14:06:44 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 897ccf573c352ccb6cd9bd9f198d55b69da5dd1a
Author: Zhou Mo <cdluminate at gmail.com>
Date: Mon Aug 8 14:05:29 2016 +0000
rules: remove deb.test test
---
debian/rules | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index f9e486b..d9f21f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,20 +55,9 @@ override_dh_auto_build:
dh_auto_build --buildsystem=cmake -B TH.build/ --parallel
# build libluaT.so
dh_auto_build --buildsystem=cmake -B luaT.build/ --parallel
- # build the rest lua stuff
+ # build the rest lua stuff with dh-lua
dh_auto_build --buildsystem=lua
-override_dh_auto_test:
- -$(RM) -rf deb.test
- # prepare lua files to launch a "torch.test()"
- set -e; if ! test -d deb.test/torch; then mkdir -p deb.test/torch; fi
- set -e; find . -name '*.so*' -exec cp -v '{}' deb.test/ \;
- set -e; find . -name '*.lua' -exec cp -v '{}' deb.test/torch/ \;
- set -e; cd deb.test; \
- LD_LIBRARY_PATH=$(ROOTDIR)/deb.test \
- $(LUAJIT) -e "require 'torch'; torch.test();"
- dh_auto_test
-
override_dh_auto_install:
# install libTH.so
dh_auto_install --buildsystem=cmake -B TH.build
--
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