[Pkg-javascript-commits] [node-nan] 01/02: Fix testsuite
Bastien Roucariès
rouca at moszumanska.debian.org
Mon Sep 18 09:27:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-nan.
commit 6cbdb67362017d5f5d7cd4f46b30e4aa17418286
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Fri Sep 8 12:27:17 2017 +0200
Fix testsuite
---
debian/tests/runtestsuite | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index b231d67..99fafc0 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -22,5 +22,9 @@ error_gyp=$( ( (node-gyp rebuild --directory test 2>&1 >&3 3>&- ; echo $? >&4)
exec 3>&-
exec 5>&-
test "X$error_gyp" = "X0"
-tap -R spec --gc test/js/*-test.js
-
+exec 5>&1
+exec 3>&1
+error_tap=$( ( (tap -R spec --gc test/js/*-test.js 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'index:' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_tap" = "X0"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-nan.git
More information about the Pkg-javascript-commits
mailing list