[Pkg-javascript-commits] [node-liftoff] 06/09: enable build-time tests and autopkgtests

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 14 09:06:08 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-liftoff.

commit 1b6a4d74182fdf9e969c5c3a372d51551d83d154
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 14 07:38:51 2016 +0000

    enable build-time tests and autopkgtests
---
 debian/control       | 8 ++++++++
 debian/rules         | 6 ++----
 debian/tests/control | 3 +++
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 3dbda75..44f6ad4 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,14 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , node-findup-sync (>= 0.4.2)
+ , node-flagged-respawn (>= 0.3.2)
+ , node-resolve (>= 1.1.7)
+ , node-rechoir (>= 0.6.2)
+ , node-lodash-packages
+ , node-fined (>= 1.0.1)
+ , node-extend (>= 3.0.0)
+ , mocha
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/js-cli/js-liftoff
diff --git a/debian/rules b/debian/rules
index de57af0..c40875f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,5 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha -t 5000 -b -R spec test/index
diff --git a/debian/tests/control b/debian/tests/control
index f492f52..0df2d8e 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-liftoff
+
+Test-Command: mocha -t 5000 -b -R spec test/index
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list