[Pkg-javascript-commits] [node-detect-file] 03/04: Enable test

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Nov 1 06:35:07 UTC 2016


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

srud-guest pushed a commit to branch master
in repository node-detect-file.

commit 595fae76156c50f1d4f14a9ad9dc870ad37ccea4
Author: Sruthi <srud at disroot.org>
Date:   Tue Nov 1 10:49:03 2016 +0530

    Enable test
---
 debian/control       | 5 +++--
 debian/rules         | 4 ++--
 debian/tests/control | 3 +++
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index a80406c..ac593e9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-fs-exists-sync (>= 0.1.0)
 Standards-Version: 3.9.8
 Homepage: https://github.com/doowb/detect-file
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-detect-file.git
@@ -18,7 +20,6 @@ Depends:
  ${misc:Depends}
  , nodejs
  , node-fs-exists-sync (>= 0.1.0)
-Description: Detect if a filepath exists and resolves the full filepath.
- FIX_ME long description
+Description: Detect if a filepath exists and resolves the full filepath
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/rules b/debian/rules
index de57af0..9eb6b18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 
 #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 e6640ca..f17645a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-detect-file
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list