[Pkg-javascript-commits] [node-classnames] 01/01: Enabled mocha tests in autopkgtest.

Daniel Ring techwolf-guest at moszumanska.debian.org
Sat Dec 16 08:24:08 UTC 2017


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

techwolf-guest pushed a commit to branch master
in repository node-classnames.

commit 86ed521478daed5b0103bb1c93067ed37281522a
Author: Daniel Ring <dring at wolfishly.me>
Date:   Sat Dec 16 00:23:50 2017 -0800

    Enabled mocha tests in autopkgtest.
---
 debian/install       | 4 +++-
 debian/tests/control | 3 +++
 debian/tests/mocha   | 3 +++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/install b/debian/install
index 7cdf5fa..975d302 100644
--- a/debian/install
+++ b/debian/install
@@ -1,4 +1,6 @@
 dedupe.js usr/lib/nodejs/classnames/
 index.js usr/lib/nodejs/classnames/
 bind.js usr/lib/nodejs/classnames/
-package.json usr/lib/nodejs/classnames/
+benchmarks usr/lib/nodejs/classnames/
+tests usr/lib/nodejs/classnames/
+package.json usr/lib/nodejs/classnames/ 
diff --git a/debian/tests/control b/debian/tests/control
index f78bd9d..f1cf62b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-classnames
+
+Tests: mocha
+Depends: node-classnames, mocha
diff --git a/debian/tests/mocha b/debian/tests/mocha
new file mode 100644
index 0000000..b5c5549
--- /dev/null
+++ b/debian/tests/mocha
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+mocha /usr/lib/nodejs/classnames/tests/*.js

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



More information about the Pkg-javascript-commits mailing list