[Pkg-javascript-commits] [node-cross-spawn-async] 03/07: Enable upstream tests

Ross Gammon ross-guest at moszumanska.debian.org
Wed Sep 23 20:03:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository node-cross-spawn-async.

commit e0b7909a758c731c9fd3e425e71a865f213428dd
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Wed Sep 23 21:41:20 2015 +0200

    Enable upstream tests
---
 debian/control | 6 +++++-
 debian/rules   | 6 ++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index f8fe2ae..fb95b57 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,11 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
 Uploaders: Ross Gammon <rossgammon at mail.dk>
 Build-Depends: debhelper (>= 9),
                dh-buildinfo,
-               nodejs
+               nodejs,
+               node-glob,
+               mocha,
+               node-which,
+               node-expect.js
 Standards-Version: 3.9.6
 Homepage: https://github.com/IndigoUnited/node-cross-spawn-async#readme
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-cross-spawn-async.git
diff --git a/debian/rules b/debian/rules
index de57af0..84991e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,7 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	nodejs test/prepare && mocha -C -R spec test/test
 
 

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



More information about the Pkg-javascript-commits mailing list