[Pkg-javascript-commits] [node-ansi-escapes] 05/05: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 19 11:42:26 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-ansi-escapes.

commit b044c83dee8f4b3d9f753408b434ad21ce1fd1b2
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 19 11:00:57 2016 +0000

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

diff --git a/debian/changelog b/debian/changelog
index 3420bda..e172063 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-ansi-escapes (1.4.0-1) UNRELEASED; urgency=low
+node-ansi-escapes (1.4.0-1) unstable; urgency=low
 
   * Initial release (Closes: #848367)
 
- -- Paolo Greppi <paolo.greppi at libpf.com>  Fri, 16 Dec 2016 17:59:34 +0000
+ -- Paolo Greppi <paolo.greppi at libpf.com>  Mon, 19 Dec 2016 11:01:06 +0000
diff --git a/debian/control b/debian/control
index f1bf3af..b5f2348 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/sindresorhus/ansi-escapes#readme
diff --git a/debian/rules b/debian/rules
index de57af0..d59f162 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha -u tdd -R spec
diff --git a/debian/tests/control b/debian/tests/control
index 5857720..dbc7524 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-ansi-escapes
+
+Test-Command: mocha -u tdd -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list