[DRE-commits] [SCM] ruby-pkg-config.git branch, master, updated. debian/1.1.2_git20110615-2-9-g9b20ef5

Antonio Terceiro terceiro at softwarelivre.org
Thu Aug 11 18:09:14 UTC 2011


The following commit has been merged in the master branch:
commit d85e0c3265f541d933bb13ff25b58ed2e7d73a32
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Thu Aug 11 10:33:29 2011 -0700

    Run tests without rake

diff --git a/debian/changelog b/debian/changelog
index eb2e798..c9201a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-pkg-config (1.1.2-1) UNRELEASED; urgency=low
   * New upstream release.
     + Fixed to build on non-intel platforms #632323 - dropped Debian-specific
       patch
+  * Run tests with debian/ruby-tests.rb; drop build dependency on rake
 
  -- Antonio Terceiro <terceiro at debian.org>  Thu, 11 Aug 2011 10:24:20 -0700
 
diff --git a/debian/control b/debian/control
index 0db8c6b..62036fc 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: Antonio Terceiro <terceiro at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.4~), rake, libcairo2-dev
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.4~), libcairo2-dev
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-pkg-config.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-pkg-config.git;a=summary
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index b436346..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'gem2deb/rake/testtask'
-Gem2Deb::Rake::TestTask.new do |t|
-  t.test_files = FileList['test/test_*.rb']
-  t.ruby_opts << '-rtest/unit'
-end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..9bdc5e4
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,4 @@
+require 'test/unit'
+Dir.glob('test/test_*.rb').each do |f|
+  require f
+end

-- 
ruby-pkg-config.git



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