[Pkg-javascript-commits] [node-js-yaml] 03/15: Enable testsuite

Ross Gammon ross-guest at moszumanska.debian.org
Sun Sep 4 05:56:42 UTC 2016


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

ross-guest pushed a commit to branch master
in repository node-js-yaml.

commit ea8716d284618502cadf90e2fe8ceba491af7cbf
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sat Sep 3 20:11:46 2016 +0200

    Enable testsuite
---
 debian/control | 5 ++++-
 debian/rules   | 9 ++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 304f41e..a127d89 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,10 @@ 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,
+               mocha,
+               node-argparse,
+               node-esprima
 Standards-Version: 3.9.8
 Homepage: https://github.com/nodeca/js-yaml
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-js-yaml.git
diff --git a/debian/rules b/debian/rules
index de57af0..9de84dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,8 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
+override_dh_auto_build:
+	# Prevent makefile from being used. Eslint is not in Debian.
 
+override_dh_auto_test:
+	mocha -R spec

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



More information about the Pkg-javascript-commits mailing list