[Pkg-javascript-commits] [node-stack-utils] 63/67: Fix testsuite

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:53:06 UTC 2017


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

rouca pushed a commit to branch master
in repository node-stack-utils.

commit 9e40a1b062a57c0eedda6f220a44926bf393b0ff
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Aug 21 17:07:03 2017 +0200

    Fix testsuite
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 06b8946..c1ebbbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,10 +11,14 @@
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
-	find test -name '*.js' -and -not -name 'long-stack-traces.js' -exec tap {} \;
+	cp -r test testbuild
+	find testbuild -name '*.js' -and -not -name 'long-stack-traces.js' -maxdepth 1 -exec tap {} \;
 else
 	@echo '**********************************************************'
 	@echo 'Skip test suite                                           '
 	@echo '**********************************************************'
 endif
 
+override_dh_clean:
+	dh_clean
+	rm -rf testbuild

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



More information about the Pkg-javascript-commits mailing list