[Pkg-javascript-commits] [node-path-root] 06/06: enable build-time tests and autopkgtests
Paolo Greppi
paolog-guest at moszumanska.debian.org
Mon Dec 12 14:41:56 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-path-root.
commit c025e378b52d060cf05aad6ceebe85c0534a0a1a
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Mon Dec 12 14:39:52 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 a44d614..0111953 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
+ , mocha
+ , node-path-root-regex (>= 0.1.0)
, nodejs
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/path-root
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 c23b2a0..b1ede2d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-path-root
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-path-root.git
More information about the Pkg-javascript-commits
mailing list