[Pkg-javascript-commits] [node-static-extend] 04/05: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Thu Oct 27 14:53:21 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-static-extend.

commit 2b2489f3b515d4d99e631e309db46dc82aa517ed
Author: Sruthi <srud at disroot.org>
Date:   Thu Oct 27 20:14:22 2016 +0530

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

diff --git a/debian/control b/debian/control
index bf98e11..0cb0c7c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,9 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-object-copy (>= 0.1.0)
+ , node-define-property (>= 0.2.5)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/static-extend
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-static-extend.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 15c978d..4e88e47 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-static-extend
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list