[Pkg-javascript-commits] [node-micromatch] 01/01: Run upstream test suite in autopkgtest
Julien Puydt
julien.puydt at laposte.net
Fri Nov 24 20:12:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-micromatch.
commit b03bbffdc0c3f55406bd5ab0cbdf48b180d2b5b5
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Fri Nov 24 17:37:12 2017 +0100
Run upstream test suite in autopkgtest
---
debian/tests/control | 5 ++++-
debian/tests/upstreamtestsuite | 5 +++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/tests/control b/debian/tests/control
index 055f921..f4f363a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
Tests: require
-Depends: node-micromatch
+Depends: @
+
+Tests: upstreamtestsuite
+Depends: @, node-mocha
diff --git a/debian/tests/upstreamtestsuite b/debian/tests/upstreamtestsuite
new file mode 100644
index 0000000..0b16523
--- /dev/null
+++ b/debian/tests/upstreamtestsuite
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cp -R test test.modified
+sed -i `find test.modified -type f` -e "s|require('\.\./\.\.|require('micromatch|g"
+sed -i `find test.modified -type f` -e "s|require('\.\.|require('micromatch|g"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-micromatch.git
More information about the Pkg-javascript-commits
mailing list