[Pkg-javascript-commits] [node-deprecated] 04/04: adding mocha to run tests
Sagar Ippalpalli
isaagar-guest at moszumanska.debian.org
Sun Nov 6 08:25:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
isaagar-guest pushed a commit to branch master
in repository node-deprecated.
commit 9caa35f7a29230bf5d52084cdb21d20678e128b9
Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
Date: Sun Nov 6 13:04:23 2016 +0530
adding mocha to run tests
---
debian/control | 3 ++-
debian/rules | 4 ++--
debian/tests/control | 3 +++
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 2e2bd12..d96394e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,8 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
Uploaders: Sagar Ippalpalli <i.vikram15 at gmail.com>
Build-Depends: debhelper (>= 9),
dh-buildinfo,
- nodejs
+ nodejs,
+ node-should
Standards-Version: 3.9.8
Homepage: http://github.com/wearefractal/deprecated
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-deprecated.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 5b61a75..80628c6 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-deprecated
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-deprecated.git
More information about the Pkg-javascript-commits
mailing list