[Pkg-javascript-commits] [node-domutils] 04/04: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Fri Dec 16 11:27:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository node-domutils.

commit 160630008d36a1b288b121d56f76514d6188cbd1
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Fri Dec 16 11:12:16 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/control       | 3 +++
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 35da9b9..7f15ae8 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,9 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , node-dom-serializer (>= 0)
+ , node-domelementtype (>= 1)
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/FB55/domutils
diff --git a/debian/rules b/debian/rules
index de57af0..e0e9651 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha test/tests/**.js -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 97e9c26..7fd2e84 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-domutils
+
+Test-Command: mocha test/tests/**.js -R spec
+Depends: @, @builddeps@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-domutils.git



More information about the Pkg-javascript-commits mailing list