[Pkg-javascript-commits] [node-parse-glob] 03/08: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Nov 1 10:31:49 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-parse-glob.

commit d4ae5688d1fa1e1b4bb4803a4f71ed6432040920
Author: Sruthi <srud at disroot.org>
Date:   Tue Nov 1 15:23:12 2016 +0530

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

diff --git a/debian/control b/debian/control
index 183a271..5bdb797 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,11 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-is-dotfile (>= 1.0.0)
+ , node-glob-base (>= 0.3.0)
+ , node-is-glob (>= 2.0.0)
+ , node-is-extglob (>= 1.0.0)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/parse-glob
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-parse-glob.git
@@ -22,6 +27,5 @@ Depends:
  , node-is-glob (>= 2.0.0)
  , node-is-extglob (>= 1.0.0)
 Description: Parse a glob pattern into an object of tokens.
- FIX_ME long description
  .
  Node.js is an event-based server-side JavaScript engine.
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 3f49c38..8542a74 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-parse-glob
+
+Test-Command: mocha -R spec
+Depends; @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list