[DRE-commits] [ruby-rgen] 05/05: enable tests

Stig Sandbeck Mathisen ssm at debian.org
Thu Nov 21 20:28:34 UTC 2013


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

ssm pushed a commit to branch master
in repository ruby-rgen.

commit 1d8ae2ba40b589952c1eeeaefdf04d550273d5ee
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Thu Nov 21 21:13:27 2013 +0100

    enable tests
---
 debian/control       |    3 ++-
 debian/ruby-tests.rb |   14 +-------------
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 7948203..840301c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Uploaders: Stig Sandbeck Mathisen <ssm at debian.org>
 Section: ruby
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~),
-               gem2deb (>= 0.3.0~)
+               gem2deb (>= 0.3.0~),
+               ruby-nokogiri,
 Standards-Version: 3.9.4
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-rgen.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-rgen.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..96721a2 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+require 'test/rgen_test.rb'

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



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