[DRE-commits] [ruby-numru-units] 04/06: Add Tests, enable autopkgtest

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Tue Jan 13 02:41:52 UTC 2015


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

uwabami-guest pushed a commit to annotated tag debian/1.8-1
in repository ruby-numru-units.

commit 32cbe8c0e9dcbac33014e89ff6c6ed83f471667f
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue Jan 13 11:26:45 2015 +0900

    Add Tests, enable autopkgtest
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/control              | 3 ++-
 debian/ruby-test-files.yaml | 2 ++
 debian/tests/control        | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 0cdabfd..5e611fd 100644
--- a/debian/control
+++ b/debian/control
@@ -8,12 +8,13 @@ Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-numru-units.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-numru-units.git;a=summary
 Homepage: http://ruby.gfd-dennou.org/products/numru-units
+Testsuite: autopkgtest
 XS-Ruby-Versions: all
 
 Package: ruby-numru-units
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${misc:Depends}, racc
+Depends: ${misc:Depends}, ruby | ruby-interpreter, racc
 Description: Ruby class library to handle units of physical quantities
  Numru-units is a class to handle units of physical quantities.
  It covers most functionality of UNIDATA's UDUNITS Library
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
new file mode 100644
index 0000000..e29e2ba
--- /dev/null
+++ b/debian/ruby-test-files.yaml
@@ -0,0 +1,2 @@
+---
+- src/test.rb
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e37abf8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Depends: @, @builddeps@, gem2deb-test-runner

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-numru-units.git



More information about the Pkg-ruby-extras-commits mailing list