[Pkg-javascript-commits] [node-require-dir] 06/07: Enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Mar 1 14:36:09 UTC 2018


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

praveen pushed a commit to branch master
in repository node-require-dir.

commit 0e209cbe9a7fdd4caa8687db5fe0a2c0d01af64f
Author: Pirate Praveen <praveen at debian.org>
Date:   Thu Mar 1 19:53:59 2018 +0530

    Enable tests
---
 debian/control       | 1 +
 debian/rules         | 4 ++--
 debian/tests/control | 3 +++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 131fc89..11c6613 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Thorsten Alteholz <debian at alteholz.de>
 Build-Depends:
  debhelper (>= 11)
  , nodejs
+ , coffeescript
 Standards-Version: 4.1.3
 Homepage: https://github.com/aseemk/requireDir
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-require-dir.git
diff --git a/debian/rules b/debian/rules
index de57af0..70157b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	node test
 
 
diff --git a/debian/tests/control b/debian/tests/control
index b88bf5d..d06af7b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-require-dir
+
+Test-Command: node test
+Depends: @, coffeescript

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



More information about the Pkg-javascript-commits mailing list