[DRE-commits] [ruby-stud] 03/03: Run test suite as part of package build

Tim Potter tpot-guest at moszumanska.debian.org
Fri Jun 26 02:27:11 UTC 2015


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

tpot-guest pushed a commit to branch master
in repository ruby-stud.

commit b43abd56c15434ce2c91a18bfef20b520e62be05
Author: Tim Potter <tpot at hp.com>
Date:   Fri Jun 26 12:25:46 2015 +1000

    Run test suite as part of package build
---
 debian/control       | 2 +-
 debian/ruby-tests.rb | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 949ca6d..201bfd5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Tim Potter <tpot at hp.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), ruby-rspec, ruby-insist
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-stud.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-stud.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..9eb0166
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,2 @@
+$: << 'lib' << 'spec' << '.'
+Dir['spec/stud/*.rb'].each { |f| require f }

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



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