[DRE-commits] [SCM] ruby-treetop.git branch, master, updated. upstream/1.4.10-9-g7290aab
Carl Worth
cworth at debian.org
Wed Feb 29 00:48:40 UTC 2012
The following commit has been merged in the master branch:
commit b5977bb631861289994666ee5348dc124e5ad362
Author: Carl Worth <cworth at debian.org>
Date: Tue Feb 28 15:29:34 2012 -0800
debian: Run all tests in the spec directory
Once again, gem2deb conveniently provides a comment with the code we
want here.
Making these tests work requires build dependencies on ruby-rspec,
ruby-rr, and ruby-activesupport which we add as well.
diff --git a/debian/control b/debian/control
index f22f52a..74427b5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: <cworth at debian.org>
DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-rspec, ruby-rr, ruby-activesupport
Standards-Version: 3.9.2
Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-treetop.git
Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-treetop.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..f6d0a8a 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")
+Dir['{spec}/**/*.rb'].each { |f| require f }
--
ruby-treetop.git
More information about the Pkg-ruby-extras-commits
mailing list