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

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 12 07:48:42 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-object-path.

commit 4163474c439943f6f2020d7da4d87c2535b25f4a
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 12 07:47:01 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/changelog     | 2 +-
 debian/control       | 1 +
 debian/rules         | 5 ++---
 debian/tests/control | 4 ++++
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 79b4bce..8f74cf8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-node-object-path (0.11.3-1) UNRELEASED; urgency=low
+node-object-path (0.11.3-1) unstable; urgency=low
 
   * Initial release (Closes: #846215)
 
diff --git a/debian/control b/debian/control
index 228262f..563cba6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/mariocasciaro/object-path
diff --git a/debian/rules b/debian/rules
index de57af0..daf5f6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,6 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
+override_dh_auto_test:
+	mocha test.js -R spec
 
diff --git a/debian/tests/control b/debian/tests/control
index 28107bb..7417be0 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,6 @@
 Tests: require
 Depends: node-object-path
+
+Test-Command: mocha test.js -R spec
+Depends: @, @builddeps@
+

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



More information about the Pkg-javascript-commits mailing list