[Pkg-javascript-commits] [node-cliui] 03/03: Re-enable tests

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Nov 29 12:14:59 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-cliui.

commit e4eb11e4dd3bc044767fce28adc938fde3d2d332
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Nov 29 12:06:41 2016 +0000

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

diff --git a/debian/changelog b/debian/changelog
index f8de350..d9b77f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 node-cliui (3.2.0-2) UNRELEASED; urgency=medium
 
   * Unpatch tests since chai is in Debian.
+  * Re-enable tests.
 
  -- Paolo Greppi <paolo.greppi at libpf.com>  Tue, 29 Nov 2016 11:57:53 +0000
 
diff --git a/debian/control b/debian/control
index 52e2841..e4b84ca 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , chai
+ , mocha
 Standards-Version: 3.9.8
 Homepage: https://github.com/yargs/cliui#readme
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-cliui.git
diff --git a/debian/rules b/debian/rules
index f00d794..3170fba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,5 @@
 
 #override_dh_auto_build:
 
-# TODO: enable this test again
-# override_dh_auto_test:
-# 	mocha
+override_dh_auto_test:
+	mocha
diff --git a/debian/tests/control b/debian/tests/control
index 2903ec3..123b961 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,5 @@
 Tests: require
 Depends: node-cliui
 
-# TODO: enable this test again
-# Test-Command: mocha
-# Depends: @, @builddeps@
+Test-Command: mocha
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list