[Pkg-javascript-commits] [node-pascalcase] 05/08: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Oct 18 06:16:28 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-pascalcase.

commit 408b30f60c810db24a1418bae717c242a4c71555
Author: Sruthi <srud at disroot.org>
Date:   Tue Oct 18 11:24:31 2016 +0530

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

diff --git a/debian/control b/debian/control
index 77aef99..9b6eb63 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/pascalcase
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-pascalcase.git
diff --git a/debian/rules b/debian/rules
index de57af0..d1b1f99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	mocha
 
 
diff --git a/debian/tests/control b/debian/tests/control
index 59d569c..8463562 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,6 @@
 Tests: require
 Depends: node-pascalcase
+
+Test-Command: mocha
+Depends: @
+

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



More information about the Pkg-javascript-commits mailing list