[Pkg-javascript-commits] [node-ansi-regex] 02/03: add patch header; enable build-time tests

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Sep 19 09:14:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository node-ansi-regex.

commit 89c99df8eedc84ac833c11b31ebab5d40b00b5cc
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Sep 19 11:09:32 2017 +0200

    add patch header; enable build-time tests
---
 debian/patches/00-mocha.diff | 5 +++++
 debian/rules                 | 6 ++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/patches/00-mocha.diff b/debian/patches/00-mocha.diff
index 5c369b8..9e685f9 100644
--- a/debian/patches/00-mocha.diff
+++ b/debian/patches/00-mocha.diff
@@ -1,3 +1,8 @@
+Description: Change from ava to mocha as test runner (ava is not yet
+ available as a Debian package).
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
 Index: node-ansi-regex/test.js
 ===================================================================
 --- node-ansi-regex.orig/test.js
diff --git a/debian/rules b/debian/rules
index de57af0..b549f43 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

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



More information about the Pkg-javascript-commits mailing list