[Pkg-javascript-commits] [node-is-accessor-descriptor] 05/06: Enable test

Sruthi Chandran srud-guest at moszumanska.debian.org
Sun Oct 16 17:25:18 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-accessor-descriptor.

commit aeeabf6c46952fe9a1535bc384c712e83eb3ec5e
Author: Sruthi <srud at disroot.org>
Date:   Sun Oct 16 22:31:42 2016 +0530

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

diff --git a/debian/control b/debian/control
index d5445ff..d1c0750 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-kind-of (>= 3.0.2)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/is-accessor-descriptor
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-is-accessor-descriptor.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 526cd9b..8321697 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-is-accessor-descriptor
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list