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

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Dec 13 17:14:38 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-fined.

commit 61fbfa2465d6a65ffdd46db923edce9395ffa296
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Dec 13 17:14:27 2016 +0000

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

diff --git a/debian/control b/debian/control
index e540200..c515e54 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,10 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , node-lodash-packages
+ , node-parse-filepath (>= 1.0.1)
+ , node-expand-tilde (>= 1.2.1)
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/js-cli/fined#readme
diff --git a/debian/rules b/debian/rules
index de57af0..d391d39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha --async-only
diff --git a/debian/tests/control b/debian/tests/control
index 1037818..37195c9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-fined
+
+Test-Command: mocha --async-only
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list