[Pkg-javascript-commits] [node-date-now] 03/04: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Apr 12 11:32:44 UTC 2017


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

praveen pushed a commit to branch master
in repository node-date-now.

commit 6989d895ef0ef0ba66165798e7a660777d12e9b6
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Apr 12 16:01:26 2017 +0530

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

diff --git a/debian/control b/debian/control
index d44a572..0a5fa7a 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-tape
 Standards-Version: 3.9.8
 Homepage: https://github.com/Raynos/date-now
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-date-now.git
diff --git a/debian/rules b/debian/rules
index de57af0..5ccab39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	nodejs ./test
diff --git a/debian/tests/control b/debian/tests/control
index d381266..7a38c84 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-date-now
+
+Test-Command: nodejs ./test
+Depends: @, node-tape

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



More information about the Pkg-javascript-commits mailing list