[Pkg-javascript-commits] [node-braces] 04/05: Enable tests
Sruthi Chandran
srud-guest at moszumanska.debian.org
Thu Nov 3 07:25:36 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-braces.
commit a8d6fd311b2ff83380b1c03688a68a62c7efbabd
Author: Sruthi <srud at disroot.org>
Date: Thu Nov 3 12:36:21 2016 +0530
Enable tests
---
debian/control | 12 ++++++++++++
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index b0416a1..76d72b7 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,18 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
+ , mocha
+ , node-snapdragon (>= 0.8.1)
+ , node-regex-not (>= 1.0.0)
+ , node-arr-flatten (>= 1.0.1)
+ , node-define-property (>= 0.2.5)
+ , node-isobject (>= 2.1.0)
+ , node-repeat-element (>= 1.1.2)
+ , node-fill-range (>= 3.0.3)
+ , node-to-regex (>= 3.0.1)
+ , node-extend-shallow (>= 2.0.1)
+ , node-debug (>= 2.2.0)
+ , node-array-unique (>= 0.3.2)
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/braces
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-braces.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 c762cd2..2090542 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-braces
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-braces.git
More information about the Pkg-javascript-commits
mailing list