[Pkg-javascript-commits] [node-is-dotfile] 05/06: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Oct 18 10:03:19 UTC 2016


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

srud-guest pushed a commit to branch master
in repository node-is-dotfile.

commit 30a0ae5dab260a4641e5d7d78297c07371d0fd88
Author: Sruthi <srud at disroot.org>
Date:   Tue Oct 18 15:29:13 2016 +0530

    Enable tests
---
 debian/control       | 1 +
 debian/rules         | 4 ++--
 debian/tests/control | 3 +++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index cd5dab7..67f6d44 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/is-dotfile
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-is-dotfile.git
diff --git a/debian/rules b/debian/rules
index de57af0..9eb6b18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #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 051d06a..f9e40f7 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-is-dotfile
+
+Test-Command: mocha -R spec
+Depends: @, mocha

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



More information about the Pkg-javascript-commits mailing list