[Pkg-javascript-commits] [node-unicode-loose-match] 02/02: Run the smoketest from autopkgtest

Julien Puydt julien.puydt at laposte.net
Fri Sep 8 16:38:08 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-unicode-loose-match.

commit bd944cc49fe6335a67d7455e48bea9a3d8b982ae
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Sep 8 18:08:40 2017 +0200

    Run the smoketest from autopkgtest
---
 debian/tests/control   | 3 +++
 debian/tests/smoketest | 5 +++++
 2 files changed, 8 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
index 4a8422c..975f3cf 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-unicode-loose-match, nodejs (>= 6.11.2~)
+
+Tests: smoketest
+Depends: node-unicode-loose-match, nodejs (>= 6.11.2~), node-lodash (>= 4.0)
diff --git a/debian/tests/smoketest b/debian/tests/smoketest
new file mode 100644
index 0000000..39810c2
--- /dev/null
+++ b/debian/tests/smoketest
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cat debian/smoketest.js | sed "s/\.\./unicode-loose-match/g" > debian/smoky.js
+node debian/smoky.js
+rm -f debian/smoky.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-unicode-loose-match.git



More information about the Pkg-javascript-commits mailing list