[Pkg-javascript-commits] [node-asn1.js] 03/07: Use multiple mocha

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 12:19:00 UTC 2017


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

rouca pushed a commit to branch master
in repository node-asn1.js.

commit eca8ced072b02954cb4816774713d07c900214d4
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Nov 9 12:16:50 2017 +0100

    Use multiple mocha
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 24f3c6b..66826f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,9 @@
 #override_dh_auto_build:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
-	mocha --reporter spec test/*-test.js rfc/2560/test/*-test.js rfc/5280/test/*-test.js
+	mocha --reporter spec test/*-test.js 
+	cd rfc/2560/ && mocha --reporter spec test/*-test.js
+	cd rfc/5280/ && mocha --reporter spec test/*-test.js
 else
         @echo '**********************************************************'
         @echo 'Skip test suite                                           '

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



More information about the Pkg-javascript-commits mailing list