[DRE-commits] [SCM] ruby-pkg-config.git branch, master, updated. f624c1b09d063232f068e9da8bb81b00e36dd0e7

Antonio Terceiro terceiro at softwarelivre.org
Thu Jun 16 00:57:40 UTC 2011


The following commit has been merged in the master branch:
commit d5bac5d23441eda4bb43ede91253481509f0eb62
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed Jun 15 17:36:24 2011 -0700

    Running tests during build

diff --git a/debian/control b/debian/control
index 035381c..804f45c 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 softwarelivre.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.4~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.4~), rake
 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
new file mode 100644
index 0000000..4acb99d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rake/testtask'
+Rake::TestTask.new do |t|
+  t.libs << 'debian/ruby-pkg-config/usr/lib/ruby/vendor_ruby'
+  t.test_files = FileList['test/test_*.rb']
+  t.ruby_opts << '-rtest/unit'
+end
+task :default => :test
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 94fb816..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-# FIXME

-- 
ruby-pkg-config.git



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