[Pkg-javascript-commits] [node-lazystream] 03/05: Enable tests

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Dec 6 06:06:48 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-lazystream.

commit 3cadf6910d3aff5e58b04782c94cbc753df8fdfc
Author: Sruthi <srud at disroot.org>
Date:   Tue Dec 6 11:06:46 2016 +0530

    Enable tests
---
 debian/control       | 1 +
 debian/rules         | 3 ++-
 debian/tests/control | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 3a589bd..c3aad17 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
  debhelper (>= 8)
  , dh-buildinfo
  , nodejs
+ , nodeunit
 Standards-Version: 3.9.5
 Homepage: https://github.com/jpommerening/node-lazystream
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-lazystream.git
diff --git a/debian/rules b/debian/rules
index de57af0..5fbe88e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,8 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
+override_dh_auto_test:
+	nodeunit test/readable_test.js test/writable_test.js test/pipe_test.js test/fs_test.js
 
 
 
diff --git a/debian/tests/control b/debian/tests/control
index cfb1f2a..d0d2355 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-lazystream
+
+Test-Command: nodeunit test/readable_test.js test/writable_test.js test/pipe_test.js test/fs_test.js
+Depends: @, nodeunit

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



More information about the Pkg-javascript-commits mailing list