[Pkg-javascript-commits] [node-yajsml] 24/26: autopkgtest: Use Autopkgtest to test package integrity.

Mike Gabriel sunweaver at debian.org
Tue Aug 26 12:26:25 UTC 2014


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

sunweaver pushed a commit to branch master
in repository node-yajsml.

commit 18d842d8b7eb114f9142e4fb3dae4580eaf70e10
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 26 13:59:05 2014 +0200

    autopkgtest: Use Autopkgtest to test package integrity.
---
 debian/control       | 1 +
 debian/tests/control | 2 ++
 debian/tests/require | 3 +++
 3 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index 1a03710..4e5b975 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
  nodejs,
 Standards-Version: 3.9.5
 Homepage: https://github.com/cweider/yajsml
+XS-Testsuite: autopkgtest
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-yajsml.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-yajsml.git
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7d2f619
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-yajsml
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..e53b131
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('yajsml');"

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



More information about the Pkg-javascript-commits mailing list