[Pkg-javascript-commits] [node-parse-filepath] 06/06: enable build-time tests and autopkgtests
Paolo Greppi
paolog-guest at moszumanska.debian.org
Mon Dec 12 15:14:30 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-parse-filepath.
commit 4dd6094d12e567d7ad1dbbddf71ed3ad0fca8b21
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Mon Dec 12 15:12:35 2016 +0000
enable build-time tests and autopkgtests
---
debian/control | 3 +++
debian/rules | 6 ++----
debian/tests/control | 3 +++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 563c687..ac4258f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,9 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
Build-Depends:
debhelper (>= 9)
, dh-buildinfo
+ , node-path-root (>= 0.1.1)
+ , node-map-cache (>= 0.2.0)
+ , mocha
, nodejs
Standards-Version: 3.9.8
Homepage: https://github.com/jonschlinkert/parse-filepath
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 9ccc9dc..4c89a08 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
Depends: node-parse-filepath
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-parse-filepath.git
More information about the Pkg-javascript-commits
mailing list