[Pkg-javascript-commits] [node-extend-shallow] 04/04: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 17 12:01:48 UTC 2016


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

praveen pushed a commit to branch master
in repository node-extend-shallow.

commit bca0726145fa7e34d828fd5a338fb64e79375327
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 17 17:30:45 2016 +0530

    enable tests
---
 debian/changelog     | 4 ++--
 debian/control       | 1 +
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d910106..4546679 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-extend-shallow (2.0.1-1) UNRELEASED; urgency=low
+node-extend-shallow (2.0.1-1) unstable; urgency=low
 
   * Initial release (Closes: #841069)
 
- -- Pirate Praveen <praveen at debian.org>  Mon, 17 Oct 2016 17:10:28 +0530
+ -- Pirate Praveen <praveen at debian.org>  Mon, 17 Oct 2016 17:30:39 +0530
diff --git a/debian/control b/debian/control
index 72f8630..87cf461 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/extend-shallow
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-extend-shallow.git
diff --git a/debian/rules b/debian/rules
index de57af0..3170fba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha
diff --git a/debian/tests/control b/debian/tests/control
index b05474a..8472e18 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-extend-shallow
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list