[tryton-debian-vcs] tryton-proteus branch debian updated. debian/3.6.1-1-1-gc807b10

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Aug 26 23:07:12 UTC 2015


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=debian/3.6.1-1-1-gc807b10

commit c807b1081483aee519c62c6d74aaa6b48ee16c83
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Aug 27 01:05:07 2015 +0200

    Enabling tests on sqlite memory database.

diff --git a/debian/control b/debian/control
index 866458a..db9dfcc 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends:
  python (>= 2.6.6-3~),
  python-dateutil,
  python-setuptools,
+ python-simplejson,
+ tryton-server,
 Standards-Version: 3.9.6
 Homepage: http://www.tryton.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=tryton/tryton-proteus.git
diff --git a/debian/rules b/debian/rules
index 02a8f1e..e634d79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,10 @@
 
 MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')
 
-# Don't run tests for Tryton modules, they try to download dependencies from pypi
-export PYBUILD_DISABLE_python2.7=test
+# Run tests on sqlite memory database
+# For the complete test suites refer to http://tests.tryton.org/
+export TRYTOND_DATABASE_URI=sqlite://
+export DB_NAME=:memory:
 
 %:
 	dh ${@} --with python2 --buildsystem=pybuild
-- 
tryton-proteus



More information about the tryton-debian-vcs mailing list