[Pkg-javascript-commits] [node-run-async] 04/04: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Thu Dec 22 23:38:09 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-run-async.

commit f5965e60ce5e1fad647e705817f89498306b17d9
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Thu Dec 22 23:36:50 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/control       | 2 ++
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 12600c5..26b5c0c 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , node-is-promise (>= 2.1.0)
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/sboudrias/run-async#readme
diff --git a/debian/rules b/debian/rules
index de57af0..2f607a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #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 60998c1..aa11b26 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-run-async
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list