[Pkg-javascript-commits] [node-external-editor] 10/10: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 19 11:44:50 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-external-editor.

commit 62a10038bd2422b464c7b11adc6457f5ceebb7ae
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 19 11:29:56 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/control       | 1 +
 debian/rules         | 3 ++-
 debian/tests/control | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 3040e58..9822c6f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , coffeescript
+ , node-tmp
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/mrkmg/node-external-editor#readme
diff --git a/debian/rules b/debian/rules
index a2e8c20..215f601 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,4 +15,5 @@ override_dh_clean:
 	dh_clean
 	rm -rf main
 
-#override_dh_auto_test:
+override_dh_auto_test:
+	mocha --recursive --compilers coffee:coffee-script/register --timeout 10000 ./test/spec -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 99241ed..0518855 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-external-editor
+
+Test-Command: mocha --recursive --compilers coffee:coffee-script/register --timeout 10000 ./test/spec -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list