[Pkg-javascript-commits] [node-repeat-element] 04/04: enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Oct 17 17:45:31 UTC 2016


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

praveen pushed a commit to branch master
in repository node-repeat-element.

commit 0ee450b52626f9e1f0353ff0f2fa29acdd7e994d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Oct 17 23:07:20 2016 +0530

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

diff --git a/debian/changelog b/debian/changelog
index f681ad3..ae973a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-repeat-element (1.1.2+github-1) unstable; urgency=medium
+
+  * Switch to github tarballs from npm dist.tarball (tags added on request)
+  * Enable tests during build and also autopkgtests
+
+ -- Pirate Praveen <praveen at debian.org>  Mon, 17 Oct 2016 23:06:22 +0530
+
 node-repeat-element (1.1.2-1) unstable; urgency=low
 
   * Initial release (Closes: #841097)
diff --git a/debian/control b/debian/control
index ecde580..dd86c5b 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/repeat-element
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-repeat-element.git
diff --git a/debian/rules b/debian/rules
index de57af0..3170fba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha
diff --git a/debian/tests/control b/debian/tests/control
index 664c654..356c904 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-repeat-element
+
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list