[Pkg-javascript-commits] [node-grunt-contrib-copy] 05/05: enable autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 21 07:05:28 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-grunt-contrib-copy.

commit 05ee85e408e8ff8eec2d23da56a502c552108c22
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 21 07:03:57 2016 +0000

    enable autopkgtests
---
 debian/tests/control   | 3 +++
 debian/tests/run_tests | 7 +++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
index 9e51615..3bd9f29 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-grunt-contrib-copy
+
+Test-Command: run_test
+Depends: @, @builddeps@
diff --git a/debian/tests/run_tests b/debian/tests/run_tests
new file mode 100755
index 0000000..b738b11
--- /dev/null
+++ b/debian/tests/run_tests
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+rm -rf tmp
+mkdir -p tmp
+grunt copy
+nodeunit

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



More information about the Pkg-javascript-commits mailing list