[Pkg-javascript-commits] [node-object-copy] 05/05: run tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Oct 25 17:15:20 UTC 2016


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

praveen pushed a commit to branch master
in repository node-object-copy.

commit 80049b37331f68ef0a0e39930b277d88a6884a2d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Oct 25 22:31:11 2016 +0530

    run tests
---
 debian/control       |  4 ++++
 debian/rules         | 11 ++---------
 debian/tests/control |  3 +++
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index d2b4502..3d5bb06 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,10 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , node-kind-of (>= 3.0.3~)
+ , node-copy-descriptor (>= 0.1.0~)
+ , node-define-property (>= 0.2.5~)
+ , mocha
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/object-copy
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-object-copy.git
diff --git a/debian/rules b/debian/rules
index de57af0..6087038 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha -R spec
diff --git a/debian/tests/control b/debian/tests/control
index f71ce01..1848688 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-object-copy
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list