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

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 12 09:02:37 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-proper-lockfile.

commit ba9f1d83453b2b5f38420015d9033caf753af7a7
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 12 08:08:42 2016 +0000

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

diff --git a/debian/control b/debian/control
index 0b32d9f..6feca32 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-expect.js
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/IndigoUnited/node-proper-lockfile#readme
diff --git a/debian/rules b/debian/rules
index de57af0..a821d01 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,6 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
+override_dh_auto_test:
+	mocha
 
diff --git a/debian/tests/control b/debian/tests/control
index 1147c39..976241a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-proper-lockfile
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list