[Pkg-javascript-commits] [node-snapdragon] 04/08: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Wed Nov 2 10:53:23 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-snapdragon.

commit a5fd1ba5681d944d4d6cc24cac054c3e9336bdfa
Author: Sruthi <srud at disroot.org>
Date:   Wed Nov 2 15:37:47 2016 +0530

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

diff --git a/debian/control b/debian/control
index 7a5485a..ab52a06 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,15 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-define-property (>= 0.2.5)
+ , node-source-map (>= 0.5.6)
+ , node-map-cache (>= 0.2.2)
+ , node-base (>= 0.11.1)
+ , node-extend-shallow (>= 2.0.1)
+ , node-use (>= 2.0.0)
+ , node-debug (>= 2.2.0)
+ , node-css
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/snapdragon
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-snapdragon.git
@@ -25,7 +34,6 @@ Depends:
  , node-use (>= 2.0.0)
  , node-debug (>= 2.2.0)
  , node-css
-Description: Fast, pluggable and easy-to-use parser-renderer factory.
- FIX_ME long description
+Description: Fast, pluggable and easy-to-use parser-renderer factory
  .
  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 b03eb92..b2e02ab 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-snapdragon
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list