[Pkg-javascript-commits] [node-for-in] 04/04: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Oct 27 14:54:43 UTC 2016


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

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

commit b67c36411b1078c7b55950690627fdda49e25c0e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Oct 27 20:04:56 2016 +0530

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

diff --git a/debian/changelog b/debian/changelog
index 0872083..236bb93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ node-for-in (0.1.6-1) unstable; urgency=medium
   * Team upload
   * New upstream release
   * Fix watch file
+  * Enable tests
 
  -- Pirate Praveen <praveen at debian.org>  Thu, 27 Oct 2016 20:02:36 +0530
 
diff --git a/debian/control b/debian/control
index 3f30813..eb849ae 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,9 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
-Standards-Version: 3.9.7
+ , mocha
+ , node-should
+Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/for-in
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-for-in.git
 Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-javascript/node-for-in.git
diff --git a/debian/rules b/debian/rules
index de57af0..2f607a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 711b33e..6b69c8f 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-for-in
+
+Test-Command: mocha -R spec
+Deepends: @, mocha, node-should

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



More information about the Pkg-javascript-commits mailing list